Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

dest.on error #69

Open
mikebaldry opened this issue Nov 23, 2013 · 0 comments
Open

dest.on error #69

mikebaldry opened this issue Nov 23, 2013 · 0 comments

Comments

@mikebaldry
Copy link

Getting this error, I've already modified the source as was getting unable to find logger, so I changed it to require("./lib/logger") etc.. but now on.coffee isn't getting loaded (i'm assuming that fixes this thing?

Just a totally clean install originally

2013-11-23T05:11:21.367122+00:00 app[web.1]: stream.js:52
2013-11-23T05:11:21.367381+00:00 app[web.1]:   dest.on('drain', ondrain);
2013-11-23T05:11:21.368311+00:00 app[web.1]:        ^
2013-11-23T05:11:21.393470+00:00 app[web.1]:     at Request.<anonymous> (native)
2013-11-23T05:11:21.393470+00:00 app[web.1]:     at Request.emit (events.js:70:17)
2013-11-23T05:11:21.393657+00:00 app[web.1]:     at Request.<anonymous> (/app/node_modules/cradle/node_modules/request/main.js:521:16)
2013-11-23T05:11:21.336890+00:00 app[web.1]: [f794b0b3-a1c8-4102-a5a7-8cafdba968aa] saving to couchdb
2013-11-23T05:11:21.364660+00:00 app[web.1]: [f794b0b3-a1c8-4102-a5a7-8cafdba968aa] ERROR: undefined
2013-11-23T05:11:21.393470+00:00 app[web.1]:     at /app/web.coffee:51:23
2013-11-23T05:11:21.393470+00:00 app[web.1]: TypeError: Cannot call method 'on' of undefined
2013-11-23T05:11:21.362700+00:00 app[web.1]: [f794b0b3-a1c8-4102-a5a7-8cafdba968aa] saving attachment - [id:undefined rev:undefined]
2013-11-23T05:11:21.393470+00:00 app[web.1]:     at Request._callback (/app/node_modules/cradle/lib/cradle.js:201:9)
2013-11-23T05:11:21.393470+00:00 app[web.1]:     at /app/web.coffee:87:16
2013-11-23T05:11:21.365432+00:00 app[web.1]: 10.145.203.39 - - [Sat, 23 Nov 2013 05:11:21 GMT] "POST /make HTTP/1.1" 404 - "-" "Ruby"
2013-11-23T05:11:21.393470+00:00 app[web.1]:     at /app/node_modules/cradle/lib/cradle/database/documents.js:145:30
2013-11-23T05:11:21.393470+00:00 app[web.1]:     at [object Object].pipe (stream.js:52:8)
2013-11-23T05:11:21.393470+00:00 app[web.1]:     at /app/node_modules/cradle/lib/cradle/database/documents.js:62:21
2013-11-23T05:11:21.393470+00:00 app[web.1]:     at Request.callback (/app/node_modules/cradle/node_modules/request/main.js:119:22)
2013-11-23T05:11:22.706958+00:00 heroku[web.1]: State changed from up to crashed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant