npm run dev 运行不了
来源:13-2 Vue-cli安装

房自德
2016-12-09
npm ERR! Darwin 16.1.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "dev"
npm ERR! node v7.2.0
npm ERR! npm v4.0.3
npm ERR! code ELIFECYCLE
npm ERR! yyqc@1.0.0 dev: `node build/dev-server.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the yyqc@1.0.0 dev script 'node build/dev-server.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the yyqc package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node build/dev-server.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs yyqc
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls yyqc
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/fangzide/yyqc/npm-debug.log
npm run dev 运行不了
2回答
-
可能是 Node 和 npm 版本过高导致 ,建议安装 4.x 的再试一下 ~
022016-12-16 -
慕前端7793024
2017-10-10
打开任务管理器,把node.exe退出后,再npm run dev就可以启动了
20
相似问题