mac m1 arm nvm install node14 failing

https://github.com/nodejs/node/issues/52306

Node v14 doesn’t have ARM64 support, which is why nvm failed to find a supported binary, and attempted to build source code (which failed as well)

Node v14不支持ARM64,这就是为什么nvm找不到支持的二进制文件,并试图构建源代码(也失败了)

In order to install v14 on a mac with arm64, you would need to use Rosseta.

You can install Rosseta using the following command:

/usr/sbin/softwareupdate --install-rosetta --agree-to-license

Which will allow running the nvm installation after changing the arch:

arch -x86_64 zsh
nvm install 14

With all of the above said, Node v14 is EOL, and newer versions already support ARM64, so I will be closing this issue.

If you feel it should be re-opened, please go ahead and do that 🙂

  • 5
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值