bower / registry

The Bower registry
https://registry.bower.io/packages
MIT License
292 stars 66 forks source link

bin/create-database start with error #43

Closed amdgigabyte closed 10 years ago

amdgigabyte commented 10 years ago

after i install couchdb && registry(node_rewrite)

I first started the CouchDB successfully.

then I run node bin/create-database

it returns with error:

Creating database
-----------------
       Server: http://localhost:5984
     Database: bower
  Design docs: /home/qiaofu/bower/registry/couch-docs
/home/qiaofu/bower/registry/couch-docs/*.json [ '/home/qiaofu/bower/registry/couch-docs/packages.json',
  '/home/qiaofu/bower/registry/couch-docs/users.json' ]

/home/qiaofu/bower/registry/bin/create-database:43
            throw error;
                  ^
Error: connect ECONNREFUSED
    at errnoException (net.js:770:11)
    at Object.afterConnect [as oncomplete] (net.js:761:19)
svnlto commented 10 years ago

I think you need to be in admin party mode, otherwise you'd need to add auth details.

amdgigabyte commented 10 years ago

I did not have a complete admin permission,now I run this successfully on my own computer.