Error while requesting package from own mirror #77

smelchior opened this Issue Aug 18, 2012 · 2 comments


None yet
3 participants

I tried to create my own mirror as described here
The replication went fine and i also can view the documents (http://localhost:5984/registry/coffee-script gives proper data). Unfortunately the couchapp fails somehow on this url http://localhost:5984/registry/_design/scratch/_rewrite/coffee-script:

Any idea why this is happening?

The documentation is wrong. This is how I set mine up.

With your couchdb registry database setup, run the following in the source:

export npm_package_config_couch=http://localhost:5984/registry
curl http://localhost:5984/registry/_design/scratch -X COPY -H destination:'_design/app'
couchapp push www/app.js http://localhost:5984/registry

terinjokes commented Mar 4, 2014

The documentation should be accurate now.

terinjokes closed this Mar 4, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment