在VUE-cli中开启项目遇到的错误

npm ERR! code ELIFECYCLE

npm ERR! errno 1

npm ERR! y@1.0.0 dev: `webpack-dev-server --inline --progress --config build/web

pack.dev.conf.js`

npm ERR! Exit status 1

npm ERR!

npm ERR! Failed at the y@1.0.0 dev script.

npm ERR! This is probably not a problem with npm. There is likely additional log

ging output above.


npm ERR! A complete log of this run can be found in:

npm ERR!     C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2018-07-04T0

5_50_25_821Z-debug.log


慕粉3316860
浏览 4151回答 1
1回答

亦奇亦幻

遇到过类似的,关掉命令工具,重新打开,然后定位到项目目录,重新npm run dev,如果还是不能运行,建议重装一遍vue-cli
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Vue.js