1.查看本地node是否安装node -v 2.安装cnpm npm install -g cnpm -registry=https://registry.npm.taobao.org 3.校验安装状态