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 🙂

相关推荐
brucelee1866 小时前
Claude Code 安装教程(Windows / Linux / macOS)
linux·windows·macos
lijfrank9 小时前
MacOS 下 VS Code + LaTeX + Skim 双向同步配置
vscode·macos·pdf·latex·mactex
Digitally15 小时前
如何将 iPad 上的视频无损传输到 Mac
macos·音视频·ipad
Maynor99616 小时前
Codex 中国站正式上线!
人工智能·gpt·macos·github
XuecWu316 小时前
【Mac系统】一次 Keychain 异常导致的 Trae 卡死问题排查
macos
网络点点滴17 小时前
NPM的包版本管理
前端·npm·node.js
青山_FPGA17 小时前
以太网 MAC-PHY 接口总结
嵌入式硬件·macos
Allen正心正念202518 小时前
前端——Node.js&npm,学点前端的东西
前端·npm·node.js
小锋学长生活大爆炸18 小时前
【开源软件】打造 macOS 纯本地 LLM 工作台 | Sidekick
macos·llm
bleuesprit19 小时前
MAC 电脑快速打开claude code 终端
macos