不同目录下npm run 报错

Posted on 2019-08-05 14:05  dxs111  阅读(505)  评论(0编辑  收藏  举报
不同目录下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 了 。。。

Copyright © 2024 dxs111
Powered by .NET 8.0 on Kubernetes