I have setup a local npm mirror using the instructions from the great wereHamster https://blog.caurea.org/2012/01/31/local-npm-registry-mirror.html
When I try to install I get the following # npm --registry http://localhost:5984/registry/_design/app/_rewrite install mongo npm http GET http://localhost:5984/registry/_design/app/_rewrite/mongo npm http 200 http://localhost:5984/registry/_design/app/_rewrite/mongo npm http GET http://localhost:5984/mongo/-/mongo-0.1.0.tgz npm http 404 http://localhost:5984/mongo/-/mongo-0.1.0.tgz ... and then a bunch of errors because it didn't really get the tgz file. The problem is that it uses /registry/_design/app/_rewrite/ to get the mongo json file, but then just goes straight for the /mongo/ file after that. If I try to get the tar file, with /registry/_design/app/_rewrite/ in the path, I can grab the tar file. # wget -nv http://localhost:5984/registry/_design/app/_rewrite/mongo 2012-03-20 17:38:04 URL:http://localhost:5984/registry/_design/app/ _rewrite/mongo [1015/1015] -> "mongo" [1] # wget -nv http://localhost:5984/registry/_design/app/_rewrite/mongo/-/mongo-0.1.0.tgz 2012-03-20 17:38:39 URL:http://localhost:5984/registry/_design/app/ _rewrite/mongo/-/mongo-0.1.0.tgz [10240/10240] -> "mongo-0.1.0.tgz" [1] I don't know why npm is dropping the /registry/_design/app/_rewrite/ from the path. Or what configuration I'm missing to fix this problem. Any help is appreciated. Thank You Troy Dawson -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
