node_modules/webpack/bin/webpack.js: not found
sh: 1: node_modules/webpack/bin/webpack.js: not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! @ development: NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mixtup/webpack.config.js
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the @ development script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /homeF{0XCAB)LKNIT0K@G.gif)agrant/.npm/_logs/2019-12-18T05_48_03_426Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ dev: npm run development
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /homeF{0XCAB)LKNIT0K@G.gif)agrant/.npm/_logs/2019-12-18T05_48_03_453Z-debug.log
尝试执行
rm -rf node_modules
rm package-lock.json yarn.lock
npm cache clear --force
npm install
执行结果 rm package-lock.json yarn.lock 找不到 npm install 报错
推荐文章: