nodejs命令集合

一、查看全局包

npm list -g –depth 0

二、报错集合

识别不到Xcode CLI

1
gyp: No Xcode or CLT version detected!

重新安装xcode CLI

1
2
sudo rm -rf $(xcode-select -print-path)
xcode-select --install