记一次安装cnpm时遇到的问题 node.js 的版本问题 node.js 的版本问题 遇到坑,原来win10下的node.js版本是6+,换成最新的v14.14,npm是6.14.8 1.使用npm config 更换成淘宝镜像(具体命令网上很多) 2.npm config get registry,查看是否更换成功 3.安装切换镜像工具nrm:npm install nrm -g 4.nrm ls 来查看镜像列表,带*是当前