Can't creatClient. Fails everytime! #26

Closed
realpeterz opened this Issue Feb 13, 2011 · 2 comments

Projects

None yet

3 participants

@realpeterz

peter@ubuntu:~$ node

couchdb = require('couchdb')
{ createClient: [Function],
parseBody: [Function],
Database: [Function],
USER_PREFIX: 'org.couchdb.user:' }
client = couchdb.createClient(5984, 'localhost')
TypeError: Object.getOwnPropertyNames called on non-object
at getOwnPropertyNames (native)
at trait (/usr/local/lib/node/.npm/traits/0.4.0/package/lib/traits.js:259:13)
at Trait (/usr/local/lib/node/.npm/traits/0.4.0/package/lib/traits.js:647:12)
at Object.createClient (/usr/local/lib/node/.npm/couchdb/0.1.0/package/lib/couchdb.js:25:59)
at [object Context]:1:18
at Interface. (repl.js:144:22)
at Interface.emit (events.js:42:17)
at Interface._onLine (readline.js:132:10)
at Interface._line (readline.js:387:8)
at Interface._ttyWrite (readline.js:564:14)

@DelvarWorld

what version of node are you running? the latest? I haven't tested this library on node, but it's no longer maintained and written for the non-latest node. I might look into upgrading it if I upgrade my own application to new node

@felixge
Owner

Yes, this library is no longer maintained. However, it seems like this bug report is for another library that is also called 'couchdb' on npm.

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