jenkins执行Build Now报错系列(一)Building for production... ERROR Failed to compile

 

原因:这种情况是vue项目并没有安装好依赖,导致使用npm命令的时候报错。

解决方法:npm install或者cnpm install或者yarn等安装好依赖。

原文地址:https://www.cnblogs.com/jishugaochao/p/13846315.html