mac npm编译的时候,一直报 node 镜像找不到

目前我所知的方法就是卸载、重装node,或者是升级node

卸载:

brew uninstall node

安装:

brew install node

升级:

brew upgrade node

原文地址:https://www.cnblogs.com/zhuchenglin/p/7379803.html