装cnpm
我用这个 npm install -g cnpm --registry=https://registry.npm.taobao.org
C:\Users\Administrator>npm install -g cnpm -registry=https://registry.npm.taobao
.org
npm WARN deprecated socks@1.1.10: If using 2.x branch, please upgrade to at leas
t 2.1.6 to avoid a serious bug with socket data flow and an import issue introdu
ced in 2.1.0
npm ERR! code EINVAL
npm ERR! EINVAL: invalid argument, read
npm ERR! A complete log of this run can be found in:
npm ERR! F:\2018\nodejs\node_cache\_logs\2018-05-25T09_04_08_133Z-debug.log
报错 能帮我解决下吗