Graent.Hu 的博客

新浪微薄腾讯微薄

最新碎语:最近感觉有些迷茫,怎么办~

您的位置:Graent.Hu 的博客 >其他> npm异常:FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed

npm异常:FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed

执行npm相关命令时,报错:

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
如图:

QQ截图20210514034647.jpg

解决方案:全局安装increase-memory-limit

命令行cmd ,dos窗口运行:cnpm install -g increase-memory-limit,

进入项目文件夹,运行:increase-memory-limit

暂可解决问题。

转载请注明出处:

本文标题:npm异常:FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed

本文链接:https://www.wlyc.cn/post-209.html

发表评论

路人甲 表情
看不清楚?点图切换