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 🙂

相关推荐
一招定胜负15 分钟前
智慧课堂项目面试复习资料
ide·macos·xcode
小江的记录本17 分钟前
【Linux】《Linux常用命令汇总表》
linux·运维·服务器·前端·windows·后端·macos
绝世唐门三哥6 小时前
MacOS下内网穿透工具cpolar使用教程(Mac 版)
macos·内网穿透
jian110586 小时前
Mac git配置账号和邮箱,可以修改
git·macos
真心喜欢你吖6 小时前
OpenClaw安装部署Mac操作系统版 - 打造你的专属AI助理
java·人工智能·macos·ai·语言模型·智能体·openclaw
tumeng07117 小时前
Node.JS 版本管理工具 Fnm 安装及配置(Windows)
windows·node.js
arvin_xiaoting7 小时前
使用 exo 技术构建 Mac mini AI 推理集群:从架构到实战
人工智能·macos·架构·mac mini·exo
阿正的梦工坊7 小时前
Mac 的.zshrc在 Windows 上等价怎么做:设置环境变量
windows·macos
xrkhy7 小时前
MacOS M3 安装nvm以及node.js
macos·node.js
xiaohe078 小时前
Node.js NativeAddon 构建工具:node-gyp 安装与配置完全指南
node.js