我正在尝试使用nvm安装最新版本的node。我刚刚得到了新发布的带有M1芯片的SIlicon Macbook Pro (不确定这是否相关)。我已经在应用商店上安装了xcode,并在命令行上安装了xcode工具。我得到的主要错误是:
clang: error: no such file or directory: 'CXX=c++'
我在M1 MacBook上。Rerun the Homebrew installer under Rosetta 2.you can use another installation option for installing on ARM:那么我如何“在Rosetta 2下重新运行Homebrew安装程序”呢?