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成神之路。
共有 0 条评论