Node.js--安装
下载:https://nodejs.org/en
下载下来后,进行安装,完成后查看文件夹
在安装目录下新建模块目录 node_global 跟cache目录 cache
再执行以下命令
npm config set prefix "C:\Program Files\nodejs\node_global" npm config set cache "C:\Program Files\nodejs\node_cache"
npm config set registry=http://registry.npm.taobao.org npm config list
npm config get registry npm info vue
npm install npm -g
done