creationix / couch-client

A minimal CouchDB client that easy and powerful
MIT License
101 stars 9 forks source link

Broken on Node 0.4.7 #25

Closed cschram closed 13 years ago

cschram commented 13 years ago

The latest Node release (at the time of writing, 0.4.7) breaks compatibility with couch-client, with the following error:

TypeError: Object # has no method 'match' at Object.urlParse as parse at CouchClient (/home/corey/local/node/lib/node/.npm/couch-client/0.0.4/package/lib/couch-client.js:24:17) at Object.query (/home/corey/Dropbox/Public/node-mvc/db/couchdb.js:76:18) at Object. (/home/corey/Dropbox/Public/node-mvc/example/home/views.js:7:13) at nextMiddleware (/home/corey/local/node/lib/node/.npm/express/2.3.2/package/lib/router/index.js:139:34) at param (/home/corey/local/node/lib/node/.npm/express/2.3.2/package/lib/router/index.js:147:16) at pass (/home/corey/local/node/lib/node/.npm/express/2.3.2/package/lib/router/index.js:155:10) at Object.router as handle at next (/home/corey/local/node/lib/node/.npm/connect/1.4.0/package/lib/http.js:204:15) at next (/home/corey/local/node/lib/node/.npm/connect/1.4.0/package/lib/http.js:206:9)

cschram commented 13 years ago

This may actually be an issue with Node 0.4.7 rather than couch-client

cschram commented 13 years ago

Ended up being an unrelated issue.