启动vue项目时报FATAL ERROR: CALL_AND_RETRY_0 Allocation failed – process out of memory错误

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/Amanda_wmy/article/details/82977904

启动vue项目时报FATAL ERROR: CALL_AND_RETRY_0 Allocation failed – process out of memory错误

  • 原因: node内存溢出的问题,node版本过低
  • 解决方案1:
  1. 全局安装increase-memory-limit,命令如下
    npm i -g increase-memory-limit
  2. 进入项目目录,执行下列命令
    increase-memory-limit
  • 解决方案2:
  • 重新安装nodejs,从官网下载

猜你喜欢

转载自blog.csdn.net/Amanda_wmy/article/details/82977904