报错如下,重新安装cnpm即可

npm install -g cnpm --registry=https://registry.npm.taobao.org