Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm run build:prod报错 #3345

Open
leewenhua opened this issue Jul 29, 2020 · 1 comment
Open

npm run build:prod报错 #3345

leewenhua opened this issue Jul 29, 2020 · 1 comment

Comments

@leewenhua
Copy link

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(截图或动态图)

Link to minimal reproduction(最小可在线还原demo)

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
@baibabai
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants