npm 命令安装模块


npm 默认是从国外的源https://registry.npmjs.org/node-inspector获取和下载包信息, 一般都不太好使.
node

能够经过简单的 ---registry 参数, 使用国内的镜像 https://registry.npm.taobao.org
express

npm --registry=https://registry.npm.taobao.org install express
相关文章
相关标签/搜索