注意: 1、找到node的安装目录下的npm.cmd, 2、将npm.cmd中的"prefix -g"修改为"prefix --location=global" 默认安装目录:C:\Program Files\nodejs