Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (14 sloc) 382 Bytes
layout title tags category keywords
post
npm install 安装过程卡住不动
javascript
npm
npm,npm install

修改 npm 的安装目录下的 npmrc文件 增加一条 registry=http://registry.cnpmjs.org

$ npm config set registry http://registry.cnpmjs.org

就可以解决此问题了.

prefix=${APPDATA}\npm
registry=http://registry.cnpmjs.org