Hi there,

I'm trying to follow Getting Started with Node.js on Heroku/Cedar.
Everything's going OK, until I try to add a postgres DB to my app. My
logs show as follows:

2012-04-06T16:49:58+00:00 heroku[web.1]: State changed from crashed to
created
2012-04-06T16:49:58+00:00 heroku[web.1]: State changed from created to
starting
2012-04-06T16:50:01+00:00 heroku[web.1]: Starting process with command
`node web.js`
2012-04-06T16:50:02+00:00 app[web.1]:
2012-04-06T16:50:02+00:00 app[web.1]: node.js:134
2012-04-06T16:50:02+00:00 app[web.1]:         throw e; //
process.nextTick error, or 'error' event on first tick
2012-04-06T16:50:02+00:00 app[web.1]:         ^
2012-04-06T16:50:02+00:00 app[web.1]: TypeError: Object #<Object> has
no method 'connect'
2012-04-06T16:50:02+00:00 app[web.1]:     at Object.<anonymous> (/app/
web.js:3:34)
2012-04-06T16:50:02+00:00 app[web.1]:     at Module._compile
(module.js:404:26)
2012-04-06T16:50:02+00:00 app[web.1]:     at Object..js (module.js:
410:10)
2012-04-06T16:50:02+00:00 app[web.1]:     at Module.load (module.js:
336:31)
2012-04-06T16:50:02+00:00 app[web.1]:     at Function._load (module.js:
297:12)
2012-04-06T16:50:02+00:00 app[web.1]:     at Array.<anonymous>
(module.js:423:10)
2012-04-06T16:50:02+00:00 app[web.1]:     at
EventEmitter._tickCallback (node.js:126:26)
2012-04-06T16:50:03+00:00 heroku[web.1]: Process exited with status 1
2012-04-06T16:50:03+00:00 heroku[web.1]: State changed from starting
to crashed


Any ideas?. I have another questions, is it required to start a worker
in order to add an add-on to our apps??.

Regards,
Iván.

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to