npm install失败的解决方法

1.通过定制的 cnpm 命令行工具代替默认的 npm

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

  2.安装具体模块

  cnpm install [name]

原文地址:https://www.cnblogs.com/summer-qd/p/10192248.html