问题描述
$ npm run dev
stock@1.0.0 dev D:OneDrivestockwebpack-dev-server --inline --hot
’webpack-dev-server’ ▒▒▒▒▒ڲ▒▒▒▒ⲿ▒▒▒Ҳ▒▒▒ǿ▒▒▒▒еij▒▒▒▒▒▒▒▒▒▒▒▒ļ▒▒▒
npm ERR! Windows_NT 10.0.10240npm ERR! argv 'C:Program Filesnodejsnode.exe' 'C:Program Filesnodejsnode_modulesnpmbinnpm-cli.js' 'run' 'dev'npm ERR! node v4.4.4npm ERR! npm v2.15.1npm ERR! code ELIFECYCLEnpm ERR! stock@1.0.0 dev: webpack-dev-server --inline --hotnpm ERR! Exit status 1npm ERR!npm ERR! Failed at the stock@1.0.0 dev script ’webpack-dev-server --inline --hot’.npm ERR! This is most likely a problem with the stock package,npm ERR! not with npm itself.npm ERR! Tell the author that this fails on your system:npm ERR! webpack-dev-server --inline --hotnpm ERR! You can get information on how to open an issue for this project with:npm ERR! npm bugs stocknpm ERR! Or if that isn’t available, you can get their info via:npm ERR!npm ERR! npm owner ls stocknpm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:npm ERR! D:OneDrivestocknpm-debug.log
问题解答
回答1:npm bugs stock 说明是你这个stock依赖有问题 重新安装一下stock