安装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
解决办法:降低版本 
npm install npm@4.6.1 -g

原文地址:https://www.cnblogs.com/florazeng/p/13466618.html