不同目录下npm 报错
sh: webpack: command not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! zhucai-bigdata@0.0.1 zhucaitest: `webpack --progress --hide-modules --config build/webpack.zhucaitest.config.js`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the zhucai-bigdata@0.0.1 zhucaitest script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
jenkins 另外一个前端打包正常运行
网上说升级node.js
后来发现是没有 新的webpack 没有 npm install 就直接 npm run 了 。。。