npm install - javascript heap out of memory

前端 未结 6 457
面向向阳花
面向向阳花 2020-12-03 09:48

When running npm install -g ionic I get the following error:

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of

6条回答
  •  盖世英雄少女心
    2020-12-03 10:11

    Solved for me, after running the command:

    npm update
    

    It will update all dependencies (be careful with broken changes). Maybe the webpack-cli dependency is the cause of this trouble.

提交回复
热议问题