清華大學開源鏡像站正式增加npm鏡像,具有教育網千兆帶寬,支持IPv6,歡迎使用。詳見:
http://mirrors.tuna.tsinghua.edu.cn/npm/ (已经挂了, 请使用 http://enpmjs.org/ 代替)
好像有点问题?
npm --registry http://mirrors.tuna.tsinghua.edu.cn/npm/registry install express npm http GET http://mirrors.tuna.tsinghua.edu.cn/npm/registry/express npm http 200 http://mirrors.tuna.tsinghua.edu.cn/npm/registry/express npm http GET http://mirrors.tuna.tsinghua.edu.cn/npm/registry/range-parser/0.0.4 npm http GET http://mirrors.tuna.tsinghua.edu.cn/npm/registry/connect/2.7.0 npm http GET http://mirrors.tuna.tsinghua.edu.cn/npm/registry/commander/0.6.1 npm http GET http://mirrors.tuna.tsinghua.edu.cn/npm/registry/mkdirp/0.3.3 npm http GET http://mirrors.tuna.tsinghua.edu.cn/npm/registry/cookie/0.0.5 npm http GET http://mirrors.tuna.tsinghua.edu.cn/npm/registry/crc/0.2.0 npm http GET http://mirrors.tuna.tsinghua.edu.cn/npm/registry/fresh/0.1.0 npm http GET http://mirrors.tuna.tsinghua.edu.cn/npm/registry/methods/0.0.1 npm http GET http://mirrors.tuna.tsinghua.edu.cn/npm/registry/debug npm http GET http://mirrors.tuna.tsinghua.edu.cn/npm/registry/send/0.1.0 npm http GET http://mirrors.tuna.tsinghua.edu.cn/npm/registry/cookie-signature/0.0.1 npm http 304 http://mirrors.tuna.tsinghua.edu.cn/npm/registry/connect/2.7.0 npm http 200 http://mirrors.tuna.tsinghua.edu.cn/npm/registry/commander/0.6.1 npm http 304 http://mirrors.tuna.tsinghua.edu.cn/npm/registry/range-parser/0.0.4 npm http 304 http://mirrors.tuna.tsinghua.edu.cn/npm/registry/cookie/0.0.5 npm http GET http://127.0.0.1:5984/registry/_design/app/_rewrite/commander/-/commander-0.6.1.tgz npm ERR! failed to fetch http://127.0.0.1:5984/registry/_design/app/_rewrite/commander/-/commander-0.6.1.tgz npm http 304 http://mirrors.tuna.tsinghua.edu.cn/npm/registry/mkdirp/0.3.3
npm ERR! Error: connect ECONNREFUSED npm ERR! at errnoException (net.js:670:11) npm ERR! at Object.afterConnect [as oncomplete] (net.js:661:19) npm ERR! npm ERR! If you are behind a proxy, please make sure that the npm ERR! ‘proxy’ config is set properly. See: 'npm help config’ npm ERR! npm ERR! System Darwin 11.3.0 npm ERR! command “node” “/usr/local/bin/npm” “–registry” “http://mirrors.tuna.tsinghua.edu.cn/npm/registry” “install” "express" npm ERR! cwd /Users/subdragon npm ERR! node -v v0.6.17 npm ERR! npm -v 1.1.24 npm ERR! syscall connect npm ERR! code ECONNREFUSED npm ERR! message connect ECONNREFUSED npm ERR! errno {} npm http 304 http://mirrors.tuna.tsinghua.edu.cn/npm/registry/crc/0.2.0 npm http 304 http://mirrors.tuna.tsinghua.edu.cn/npm/registry/fresh/0.1.0 npm http 304 http://mirrors.tuna.tsinghua.edu.cn/npm/registry/methods/0.0.1 npm http 200 http://mirrors.tuna.tsinghua.edu.cn/npm/registry/debug npm http 304 http://mirrors.tuna.tsinghua.edu.cn/npm/registry/send/0.1.0 npm http 304 http://mirrors.tuna.tsinghua.edu.cn/npm/registry/cookie-signature/0.0.1 npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /Users/subdragon/npm-debug.log npm not ok npm not ok
應該已經解決了
應該已經解決了
good~速度很快:D
感謝 fqj1994 的幫助。
我配置了 vhost,現在可以用 http://npm.tuna.tsinghua.edu.cn/registry 了,mirrors.tuna.tsinghua.edu.cn 會重定向到前者。
最新信息請關注:http://npm.tuna.tsinghua.edu.cn/
今天好像又不能使用了.
顶起, 继续努力.
校园网请使用 http://enpmjs.org/
@suqian …
赞