macOS 系统下node安装和环境配置(通过node官网)

为了解决node的一些问题,

需要重装 node,

此时:

Solved it by uninstalling Node completely and installing it via the website (not via terminal)

通过nodejs网站下载安装包来安装node,而不是通过终端。

1、前往node官网下载 node安装包

      

 2、双击下载下来的node安装包,

   

显示程序将会安装的位置

一直点击继续到最后为

   

原文地址:https://www.cnblogs.com/shenxiaolin/p/14379526.html