vue-element-admin npm run build:prod报错

8mmmxcuj  于 3个月前  发布在  其他
关注(0)|答案(1)|浏览(37)

Bug report(问题描述)

在本地npm run build:prod报错,但是在jenkins上用npm run build:prod又正常且本地npm run dev没问题

Steps to reproduce(问题复现步骤)

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! vue-admin-template@4.2.1 build:prod: NODE_ENV=production vue-cli-service build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the vue-admin-template@4.2.1 build:prod 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! C:\Users\L\AppData\Roaming\npm-cache_logs\2020-07-29T05_32_14_714Z-debug.log

Screenshot or Gif(截图或动态图)
Other relevant information(格外信息)
  • Your OS: windows
  • Node.js version: v8.12.0
  • vue-element-admin version: 4.2.1
    -webpack version: v4.22.0
    -npm version: 6.4.1
nkcskrwz

nkcskrwz1#

同样的错误,估计是某些依赖的版本问题,等一个大神

相关问题