如何解决当我想使用 Laravel 8 编译用于设计的资产时,错误 npm install & npm run dev
我想在 laravel 8 上运行命令 npm install && npm run dev。我的 nodejs 版本 14、php 7 和 composer 版本2,当我运行这个命令时,我得到一个这样的错误:
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ development: `mix`
npm ERR! Exit status 1
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! /home/rizalihwan/.npm/_logs/2021-04-07T15_29_44_150Z-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! /home/rizalihwan/.npm/_logs/2021-04-07T15_29_44_416Z-debug.log
I experienced this error only in laravel8,in the previous version it went well.
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。