Treating warnings as errors because process.env.CI = true.

场景:jenkins使用npm构建vue前端test分支报错,shell手动构建正常
报错信息:
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build:test: `cross-env --REACT_APP_SKSXENV=test react-app-rewired build "CI=false"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build:test script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/tomcat/.npm/_logs/2021-05-26

Treating warnings as errors because process.env.CI = true.最先出现在Python成神之路

版权声明:
作者:zhangchen
链接:https://www.techfm.club/p/4058.html
来源:TechFM
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
< <上一篇
下一篇>>