It's all about
connecting the dots

FATAL ERROR: wasm code commit Allocation failed - process out of memory

一、现象描述

电脑型号:Apple M1。

通过nvm安装了node v14.15.5,启动vite项目时,终端报错:

FATAL ERROR: wasm code commit Allocation failed – process out of memory

二、解决方案

卸载node v14.15.5后,切换arch,重新安装。

nvm uninstall 14.15.5
arch -x86_64 zsh
nvm install 14.15.5
nvm alias default 14.15.5

 

赞(4) 打赏
转载需注明来源并给出来源页链接:峰间的云 » FATAL ERROR: wasm code commit Allocation failed - process out of memory

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏