npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! iview-admin@2.0.0 dev: `vue-cli-service service
npm run dev 运行报如下错误ERRORBuild failed with errors.npm ERR! code ELIFECYCLEnpm ERR! errno 1npm ERR! iview-admin@2.0.0 build: vue-cli-service buildnpm ERR! Exit status 1npm ERR!npm ERR! Failed at the ivi
·
npm run dev 运行报如下错误
ERROR Build failed with errors.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! iview-admin@2.0.0 build: vue-cli-service build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the iview-admin@2.0.0 build 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:
解决方案
1.如以前可执行某次执行突发报错那么不用怀疑,你的修改的文件报错,可能是格式问题仔细检查语法格式和各种括号
2.如不是文件报错引起npm执行如下命令:
npm uninstall webpack-dev-server
npm install webpack-dev-server@2.9.1
npm run dev
运行成功
更多推荐
已为社区贡献1条内容
所有评论(0)