I have a project which I can run locally and seems to push to Heroku without any problems, but then it crashes.
This is what I see when I do a git push.
generic-pool@1.0.9 ./node_modules/generic-pool
restler@0.2.5 ./node_modules/restler
coffee-script@1.2.0 ./node_modules/coffee-script
express@2.5.9 ./node_modules/express
├── qs@0.4.2
├── mime@1.2.4
├── mkdirp@0.3.0
└── connect@1.8.7
generic-pool@1.0.9 /tmp/build_wjuqoswapf7n/node_modules/generic-pool
coffee-script@1.2.0 /tmp/build_wjuqoswapf7n/node_modules/coffee-script
express@2.5.9 /tmp/build_wjuqoswapf7n/node_modules/express
connect@1.8.7 /tmp/build_wjuqoswapf7n/node_modules/express/node_modules/connect
qs@0.4.2 /tmp/build_wjuqoswapf7n/node_modules/express/node_modules/qs
mime@1.2.4 /tmp/build_wjuqoswapf7n/node_modules/express/node_modules/mime
formidable@1.0.9 /tmp/build_wjuqoswapf7n/node_modules/express/node_modules/connect/node_modules/formidable
mkdirp@0.3.0 /tmp/build_wjuqoswapf7n/node_modules/express/node_modules/mkdirp
restler@0.2.5 /tmp/build_wjuqoswapf7n/node_modules/restler
Dependencies installed
-----> Discovering process types
Procfile declares types -> web
-----> Compiled slug size is 4.0MB
-----> Launching... done, v22
http://glowing-mist-2689.herokuapp.com deployed to Heroku
This is what I see when I do heroku logs.
2012-04-22T01:04:05+00:00 heroku[slugc]: Slug compilation finished
2012-04-22T01:04:08+00:00 heroku[web.1]: Starting process with command `node run.js `
2012-04-22T01:04:08+00:00 app[web.1]: Error: No such file or directory - node run.js
2012-04-22T01:04:09+00:00 heroku[web.1]: Process exited with status 0
2012-04-22T01:04:10+00:00 heroku[web.1]: State changed from starting to crashed
In Procfile is web: node run.js
What could be the problem? Is there a way I can check to see if run.js exists in the remote directory?