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回答

NeurotoxinVX

2016-12-09

可能是 Node 和 npm 版本过高导致 ,建议安装 4.x 的再试一下 ~

0
2
zhangweb
回复
房自德
请问你的node版本是多高的?npm版本又是多高?
2016-12-16
共2条回复

慕前端7793024

2017-10-10

//szimg.mukewang.com/59dc35560001137201900277.jpg

打开任务管理器,把node.exe退出后,再npm run dev就可以启动了

2
0

Vue.js2.5+cube-ui重构饿了么App(经典再升级)

掌握Vue1.0到2.0再到2.5最全版本应用与迭代,打造极致流畅的WebApp

9868 学习 · 4162 问题

查看课程