node

指定版本
brew link --overwrite node@12 --force

brew search node

brew install node@12

brew unlink node

brew link --overwrite node@12 --force

问题
npm install 或者 yarn install 出现报错

降低node版本到node10版本,不会报错了

原文地址:https://www.cnblogs.com/Running00/p/12786134.html