利用npm安装cnpm时出现的错误 npm WARN deprecated socks@1.1.10: If using 2.x branch, please upgrade to at least 2.1.6 to avoid a serious bug with socket data flow and an import issue introduced in 2.1.0 解决办法: 1.降低npm版本 npm install npm@4.6.1 -g 2.通过npm update -d查…