参考文档https://blog.csdn.net/gh254172840/article/details/78871573

  使用npm构建报错

npm构建保存 code ELIFECYCLE解决办法

  

  解决办法,进入工作目录

rm -rf node_modules
rm -rf package-lock.json 
npm cache clear --force
npm install

  如果是jenkins则可以在构建前加命令

npm install

  构建命令如下所示

npm构建保存 code ELIFECYCLE解决办法

 

相关文章:

  • 2021-06-19
  • 2021-07-18
  • 2021-05-30
  • 2022-12-23
  • 2022-12-23
  • 2021-11-04
  • 2021-07-31
  • 2022-12-23
猜你喜欢
  • 2021-10-11
  • 2022-12-23
  • 2021-09-08
  • 2022-12-23
  • 2021-04-18
  • 2021-07-15
相关资源
相似解决方案