mac 安装node14需要python,有python还安装失败

虽然运行命令报错了但还是能安装的

https://github.com/nodejs/node/issues/52306

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`