关于vs-code启动项目npm start报错。 急求

xuduo12345 2017-08-21 11:42:03
报错如下:
rongdeMacBook-Air:qy_self_service_machine rong$ npm start

> self_service_machine@1.0.0 start /Users/rong/qy_self_service_machine
> npm run server:dev


> self_service_machine@1.0.0 server:dev /Users/rong/qy_self_service_machine
> webpack-dev-server --config config/webpack.dev.js --open --progress --profile --watch --content-base src/

sh: /Users/rong/qy_self_service_machine/node_modules/.bin/webpack-dev-server: Permission denied

npm ERR! Darwin 16.5.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "server:dev"
npm ERR! node v6.11.2
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! self_service_machine@1.0.0 server:dev: `webpack-dev-server --config config/webpack.dev.js --open --progress --profile --watch --content-base src/`
npm ERR! Exit status 126
npm ERR!
npm ERR! Failed at the self_service_machine@1.0.0 server:dev script 'webpack-dev-server --config config/webpack.dev.js --open --progress --profile --watch --content-base src/'.
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 self_service_machine package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! webpack-dev-server --config config/webpack.dev.js --open --progress --profile --watch --content-base src/
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs self_service_machine
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls self_service_machine
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /Users/rong/qy_self_service_machine/npm-debug.log

npm ERR! Darwin 16.5.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
npm ERR! node v6.11.2
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! self_service_machine@1.0.0 start: `npm run server:dev`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the self_service_machine@1.0.0 start script 'npm run server:dev'.
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 self_service_machine package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run server:dev
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs self_service_machine
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls self_service_machine
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /Users/rong/qy_self_service_machine/npm-debug.log
...全文
479 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
xiaotuni 2017-08-21
  • 打赏
  • 举报
回复
Permission denied ~~---------------------- 权限不够吧。

87,907

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧