Skip to content

Having troubles deploying to Heroku #73

@m1ket

Description

@m1ket

Hello,

I'm a bit of a newbie to NodeJS and AngularJS.

I have tried deploying your code to Heroku, but my app keeps crashing. I can't get it to start. Does this error message mean anything to you?

2014-04-28T11:46:38.029698+00:00 heroku[api]: Release v8 created by *******@gmail.com
2014-04-28T11:46:42.698447+00:00 heroku[web.1]: Starting process with command node server.js
2014-04-28T11:46:43.956516+00:00 app[web.1]: /app/node_modules/express/lib/application.js:172
2014-04-28T11:46:43.956170+00:00 app[web.1]:
2014-04-28T11:46:43.956844+00:00 app[web.1]: if ('function' != typeof fn) throw new Error('callback function required');
2014-04-28T11:46:43.956850+00:00 app[web.1]: ^
2014-04-28T11:46:43.958801+00:00 app[web.1]: Error: callback function required
2014-04-28T11:46:43.958803+00:00 app[web.1]: at Function.app.engine (/app/node_modules/express/lib/application.js:172:38)
2014-04-28T11:46:43.958805+00:00 app[web.1]: at Object. (/app/server.js:9:5)
2014-04-28T11:46:43.958807+00:00 app[web.1]: at Module._compile (module.js:449:26)
2014-04-28T11:46:43.958809+00:00 app[web.1]: at Object.Module._extensions..js (module.js:467:10)
2014-04-28T11:46:43.958811+00:00 app[web.1]: at Module.load (module.js:356:32)
2014-04-28T11:46:43.958812+00:00 app[web.1]: at Function.Module._load (module.js:312:12)
2014-04-28T11:46:43.958814+00:00 app[web.1]: at Module.runMain (module.js:492:10)
2014-04-28T11:46:43.958816+00:00 app[web.1]: at process.startup.processNextTick.process._tickCallback (node.js:245:9)
2014-04-28T11:46:45.188195+00:00 heroku[web.1]: Process exited with status 1
2014-04-28T11:46:45.203559+00:00 heroku[web.1]: State changed from starting to crashed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions