报错如下:
rongdeMacBook-Air:qy_self_service_machine rong$ npm start> [email protected] start /Users/rong/qy_self_service_machine
> npm run server:dev
[email protected] 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 deniednpm 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! [email protected] 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 [email protected] 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.lognpm 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! [email protected] start: `npm run server:dev`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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