npm 插件
1.如果安装某一插件失败,可以尝试uninstall,然后执行npm cache clean(npm cache verify),再安装
npm set registry https://registry.npm.taobao.org # 注册模块镜像
npm set disturl https://npm.taobao.org/dist # node-gyp 编译依赖的 node 源码镜像
npm cache clean # 清空缓存
https://segmentfault.com/a/1190000000473869