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 🙂

相关推荐
吴佳浩1 分钟前
OpenClaw macOS 完整安装与本地模型配置教程(实战版)
人工智能·macos·agent
前端双越老师10 小时前
Skills 是什么?如何用于 Agent 开发?
人工智能·node.js·agent
San301 天前
AI 时代的“USB-C”接口:MCP 核心原理与实战
langchain·node.js·mcp
helloweilei2 天前
javascript 结构化克隆
javascript·node.js
小蜜蜂dry3 天前
nestjs学习 - 控制器、提供者、模块
前端·node.js·nestjs
San303 天前
手写 Mini Cursor:基于 Node.js 与 LangChain 的开发实战
langchain·node.js·agent
前端付豪3 天前
Nest 项目小实践之图书增删改查
前端·node.js·nestjs
vi_h3 天前
在 macOS 上通过 Docker 安装并运行 Ollama(详细可执行教程)
macos·docker·ollama
sunny_4 天前
面试踩大坑!同一段 Node.js 代码,CJS 和 ESM 的执行顺序居然是反的?!99% 的人都答错了
前端·面试·node.js
Qinana4 天前
150行代码搞定私有知识库!Node.js + LangChain 打造最小化 RAG 系统全流程
人工智能·程序员·node.js