Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weird issue when working with "cradle" #2

Open
gvangool opened this issue Jan 21, 2013 · 2 comments
Open

Weird issue when working with "cradle" #2

gvangool opened this issue Jan 21, 2013 · 2 comments

Comments

@gvangool
Copy link

I noticed a weird issue (to me weird) while working with cloudhead/cradle (and according to the stacktrace mikeal/request)

I've created a simple test program to validate the issue, https://gist.github.com/4586292

/Users/gert/dev/bug-stoopid/node_modules/cradle/lib/cradle/response.js:126
    return Object.defineProperties(obj, descriptor);
                  ^
TypeError: Object.defineProperties called on non-object
    at Function.defineProperties (native)
    at Object.extend (/Users/gert/dev/bug-stoopid/node_modules/cradle/lib/cradle/response.js:126:19)
    at Request.cradle.Connection.request [as _callback] (/Users/gert/dev/bug-stoopid/node_modules/cradle/lib/cradle.js:199:18)
    at Request.init.self.callback (/Users/gert/dev/bug-stoopid/node_modules/cradle/node_modules/request/main.js:122:22)
    at Request.EventEmitter.emit (events.js:99:17)
    at Request.<anonymous> (/Users/gert/dev/bug-stoopid/node_modules/cradle/node_modules/request/main.js:661:16)
    at Request.EventEmitter.emit (events.js:126:20)
    at IncomingMessage.Request.start.self.req.self.httpModule.request.buffer (/Users/gert/dev/bug-stoopid/node_modules/cradle/node_modules/request/main.j$
:623:14)
    at IncomingMessage.EventEmitter.emit (events.js:126:20)
    at IncomingMessage._emitEnd (http.js:366:10)
@pulkitsinghal
Copy link

@gvangool what version of couchdb are you running against? I started noticing this error and I think it maybe because of using cradle with couchdb v1.3.0

@gvangool
Copy link
Author

It was a CouchDB v1.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants