Graent.Hu 的博客

新浪微薄腾讯微薄

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

标签关键词

关于 node 的文章共有1条

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

阅读(207) 评论(0) 标签: npm node run dev npm内存溢出

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 如图: 解决方案:全局安装increase-memory-limit 命令行cmd ,dos窗口运行:cnpm install -g increase-memory-limit, 进入项目文件夹,运行:increase-memory-limit 暂可解决问题...