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 🙂

Logo

开放原子开发者工作坊旨在鼓励更多人参与开源活动,与志同道合的开发者们相互交流开发经验、分享开发心得、获取前沿技术趋势。工作坊有多种形式的开发者活动,如meetup、训练营等,主打技术交流,干货满满,真诚地邀请各位开发者共同参与!

更多推荐