为了账号安全,请及时绑定邮箱和手机立即绑定

Vue npm run dev出错

Vue npm run dev出错

慕桂英3389331 2018-10-16 17:19:35
npm ERR! Windows_NT 10.0.14393npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "run" "dev"npm ERR! node v6.7.0npm ERR! npm v4.1.2npm ERR! code ELIFECYCLEnpm ERR! douyu@1.0.0 dev: node build/dev-server.jsnpm ERR! Exit status 1npm ERR!npm ERR! Failed at the douyu@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 douyu package,npm ERR! not with npm itself.npm ERR! Tell the author that this fails on your system:npm ERR! node build/dev-server.jsnpm ERR! You can get information on how to open an issue for this project with:npm ERR! npm bugs douyunpm ERR! Or if that isn't available, you can get their info via:npm ERR! npm owner ls douyunpm ERR! There is likely additional logging output above.说我node和npm版本低了?可是我这版本号基本上是最新的啊,难道node要更新要6.9?在以前的项目里也是vue-2.0都可以运行的,今天新建一个项目就报错了
查看完整描述

1 回答

?
牧羊人nacy

TA贡献1862条经验 获得超7个赞

不管什么错误,Node都是这么一段相同的提示,不要在意最后的提示,去看看前面的错误信息。一看你就是直接用vue的模板项目运行的吧,一点都不修改的吗?


查看完整回答
反对 回复 2018-11-15
  • 1 回答
  • 0 关注
  • 687 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信