gitlab-ci执行 部署vue项目,报错 Using 1 worker with 2048MB memory limit
gitlab-ci执行 部署vue项目,执行npm run build 时报错Using 1 worker with 2048MB memory limit
具体报错信息是这样的?
$ npm run build
[31](http://192.168.1.60:8090/root/vue-demo/-/jobs/1049#L31)> vue-demo@0.1.0 build /builds/root/vue-demo
[32](http://192.168.1.60:8090/root/vue-demo/-/jobs/1049#L32)> vue-cli-service build
[33](http://192.168.1.60:8090/root/vue-demo/-/jobs/1049#L33)- Building for production...
[34](http://192.168.1.60:8090/root/vue-demo/-/jobs/1049#L34)Starting type checking service...
[35](http://192.168.1.60:8090/root/vue-demo/-/jobs/1049#L35)Using 1 worker with 2048MB memory limit
ERROR Failed to compile with 1 error10:40:27 AM
[53](http://192.168.1.60:8090/root/vue-demo/-/jobs/1056#L53)Syntax Error: Thread Loader (Worker 0)
[54](http://192.168.1.60:8090/root/vue-demo/-/jobs/1056#L54)No ESLint configuration found in /builds/root/vue-demo/src.
[55](http://192.168.1.60:8090/root/vue-demo/-/jobs/1056#L55)You may use special comments to disable some warnings.
[56](http://192.168.1.60:8090/root/vue-demo/-/jobs/1056#L56)Use // eslint-disable-next-line to ignore the next line.
[57](http://192.168.1.60:8090/root/vue-demo/-/jobs/1056#L57)Use /* eslint-disable */ to ignore all warnings in a file.
[58](http://192.168.1.60:8090/root/vue-demo/-/jobs/1056#L58) ERROR Build failed with errors.
[59](http://192.168.1.60:8090/root/vue-demo/-/jobs/1056#L59)npm ERR! code ELIFECYCLE
[60](http://192.168.1.60:8090/root/vue-demo/-/jobs/1056#L60)npm ERR! errno 1
[61](http://192.168.1.60:8090/root/vue-demo/-/jobs/1056#L61)npm ERR! vue-demo@0.1.0 build: `vue-cli-service build`
[62](http://192.168.1.60:8090/root/vue-demo/-/jobs/1056#L62)npm ERR! Exit status 1
[63](http://192.168.1.60:8090/root/vue-demo/-/jobs/1056#L63)npm ERR!
[64](http://192.168.1.60:8090/root/vue-demo/-/jobs/1056#L64)npm ERR! Failed at the vue-demo@0.1.0 build script.
[65](http://192.168.1.60:8090/root/vue-demo/-/jobs/1056#L65)npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
[66](http://192.168.1.60:8090/root/vue-demo/-/jobs/1056#L66)npm ERR! A complete log of this run can be found in:
[67](http://192.168.1.60:8090/root/vue-demo/-/jobs/1056#L67)npm ERR! /root/.npm/_logs/2021-04-03T10_40_27_445Z-debug.log
大伙帮看看
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看看这2个,遇到的问题和你一样