node内存泄露耗尽: FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
·
创建项目过程中,执行npm命令时,出现报错: FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
搜索后提示为node内存泄漏耗尽。
试过扩相关节点内存量,没有用(只对于本机而言)node内存泄漏耗尽: FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript_阿云兜兜的博客-CSDN博客
解决方法:
1.直接删除C盘中用户(Users)下的.npmrc文件夹
2.关闭所有的cmd
3.重新打开cmd,运行相关命令
更多推荐
所有评论(0)