我正在尝试使用 nvm 安装最新版本的节点。我刚刚拿到了新发布的带有 M1 芯片的 SILicon Macbook Pro(不确定是否相关)。我已经在应用程序商店上安装了 xcode,并在命令行上安装了 xcode 工具。我得到的主要错误是:
clang: error: no such file or directory: 'CXX=c++'
macos homebrew node.js nvm npm-install
homebrew ×1
macos ×1
node.js ×1
npm-install ×1
nvm ×1