请教一下npm的镜像mirror的问题
发布于 2年前 作者 subdragon 1362 次浏览 最后一次编辑是 5个月前 来自 问答

我们希望提供一个npm镜像给node社区 在做mirror的时候出现了一些问题

我们基本上按照https://github.com/isaacs/npmjs.org 上面的步骤来做的 现在的问题是同步下来的包有些不全,比如安装express的时候有些包会出现404

另外,我们发现使用 http://isaacs.iriscouch.com/registry/ 和直接使用 http://nnpmjs.org 好像效果也是不一样的,看起来这俩数据也是不一致?

subdragon[[[[[[[[[[[[[[[[[[[[[[[[[[@yinmatoMacBook-Pro](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro):~$ npm --registry http://isaacs.iriscouch.com/registry/ install express npm http GET http://isaacs.iriscouch.com/registry/express npm http 200 http://isaacs.iriscouch.com/registry/express npm http GET http://isaacs.iriscouch.com/registry/connect/2.7.0 npm http GET http://isaacs.iriscouch.com/registry/commander/0.6.1 npm http GET http://isaacs.iriscouch.com/registry/range-parser/0.0.4 npm http GET http://isaacs.iriscouch.com/registry/mkdirp/0.3.3 npm http GET http://isaacs.iriscouch.com/registry/cookie/0.0.5 npm http GET http://isaacs.iriscouch.com/registry/crc/0.2.0 npm http GET http://isaacs.iriscouch.com/registry/fresh/0.1.0 npm http GET http://isaacs.iriscouch.com/registry/methods/0.0.1 npm http GET http://isaacs.iriscouch.com/registry/send/0.1.0 npm http GET http://isaacs.iriscouch.com/registry/cookie-signature/0.0.1 npm http GET http://isaacs.iriscouch.com/registry/debug npm http 404 http://isaacs.iriscouch.com/registry/mkdirp/0.3.3 npm http 404 http://isaacs.iriscouch.com/registry/connect/2.7.0 npm http 404 http://isaacs.iriscouch.com/registry/range-parser/0.0.4 npm http 404 http://isaacs.iriscouch.com/registry/commander/0.6.1 npm http 404 http://isaacs.iriscouch.com/registry/cookie/0.0.5 npm http 404 http://isaacs.iriscouch.com/registry/crc/0.2.0 npm http 404 http://isaacs.iriscouch.com/registry/fresh/0.1.0 npm http 404 http://isaacs.iriscouch.com/registry/methods/0.0.1 npm http 404 http://isaacs.iriscouch.com/registry/cookie-signature/0.0.1 npm http 404 http://isaacs.iriscouch.com/registry/send/0.1.0 npm http 304 http://isaacs.iriscouch.com/registry/debug npm http GET http://isaacs.iriscouch.com/registry/mime/1.2.6 npm http GET http://isaacs.iriscouch.com/registry/qs/0.5.1 npm http GET http://isaacs.iriscouch.com/registry/formidable/1.0.11 npm http GET http://isaacs.iriscouch.com/registry/bytes/0.1.0 npm http GET http://isaacs.iriscouch.com/registry/pause/0.0.1 npm http 404 http://isaacs.iriscouch.com/registry/mime/1.2.6 npm http 404 http://isaacs.iriscouch.com/registry/qs/0.5.1 npm http 404 http://isaacs.iriscouch.com/registry/formidable/1.0.11 npm http 404 http://isaacs.iriscouch.com/registry/bytes/0.1.0 npm http 404 http://isaacs.iriscouch.com/registry/pause/0.0.1

subdragon[[[[[[[[[[[[[[[[[[[[[[[[[[@yinmatoMacBook-Pro](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro)](/user/yinmatoMacBook-Pro):~$ npm --registry http://nnpmjs.org install express npm http GET http://nnpmjs.org/express npm http GET http://nnpmjs.org/connect/2.7.0 npm http GET http://nnpmjs.org/commander/0.6.1 npm http GET http://nnpmjs.org/range-parser/0.0.4 npm http GET http://nnpmjs.org/mkdirp/0.3.3 npm http GET http://nnpmjs.org/cookie/0.0.5 npm http GET http://nnpmjs.org/crc/0.2.0 npm http GET http://nnpmjs.org/fresh/0.1.0 npm http GET http://nnpmjs.org/methods/0.0.1 npm http GET http://nnpmjs.org/send/0.1.0 npm http GET http://nnpmjs.org/cookie-signature/0.0.1 npm http GET http://nnpmjs.org/debug npm http GET http://nnpmjs.org/mime/1.2.6 npm http GET http://nnpmjs.org/qs/0.5.1 npm http GET http://nnpmjs.org/formidable/1.0.11 npm http GET http://nnpmjs.org/bytes/0.1.0 npm http GET http://nnpmjs.org/pause/0.0.1

回到顶部