使用阿里巴巴的镜像服务器 $ npm install -g cnpm --registry=https://registry.npm.taobao.org 利用cnpm安装需要的模块 $ cnpm install [name]