laravel npm run dev 错误 npm run dev error [npm ERR! code ELIFECYCLE]

出现此问题是node_modules出现错误,需要执行:

1 rm -rf node_modules
2 rm package-lock.json
3 npm cache clear --force
4 npm install

转载于:https://www.cnblogs.com/AlexanderZhao/p/11256256.html

你可能感兴趣的:(laravel npm run dev 错误 npm run dev error [npm ERR! code ELIFECYCLE])