首页 > 编程知识 正文

卸载列表找不到软件,npm run build报错

时间:2023-05-06 16:56:06 阅读:15461 作者:1944

已升级并卸载有问题的背景npm软件包,然后安装了最新的。 结果显示以下错误:

错误信息errorfailedtocompilewith 3错误16336054336000 thesedependencieswerenotfound : (node :46156 )。 unhandledpromiserejectionwarning : unhandledpromiserejection (rejection id : ) : error : eno ent 3: nosuchfileordirrior . volume icon.icns ' [ node :46156 ] [ dep 0018 ] deprecation warning : unhandledpromiserejectionsaredeprecated.] promiserejectionsthatarenothandledwillterminatethenode.jsprocesswithanon-zero exit code .报告了某些依赖关系,但实际上在这些路径中找不到

解决方案可以删除所有node_modules,然后重新安装。 某些依赖项可能需要重新安装。 只装一个包是不行的。

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。