Having trouble pushing my application to Heroku. I'm encountering error code h10 and can't seem to resolve it.
Could the issue be related to the bcrypt library not being compatible with node 0.12.0?
2015-04-01T02:27:39.716767+00:00 app[web.1]: Recommending WEB_CONCURRENCY=1
2015-04-01T02:27:40.544711+00:00 app[web.1]:
2015-04-01T02:27:40.544716+00:00 app[web.1]: > @ start /app
2015-04-01T02:27:40.544719+00:00 app[web.1]:
2015-04-01T02:27:40.544718+00:00 app[web.1]: > node app.js
(...more log messages...)
2015-04-01T02:34:27.434784+00:00 app[web.1]: npm ERR!
2015-04-01T02:34:27.435079+00:00 app[web.1]: npm ERR! not with npm itself.
2021-09-08T03:21:35.392086+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=my-app.herokuapp.com request_id=dbcc8563-c72c-455a-a349-e90417386263 fwd="156.120.118.138" dyno= connect= service= status=503 bytes=
Snippet from my app.js file:
var port = process.env.PORT || 6503;
var server = app.listen(port, function() {
console.log('Server running on port ' + server.address().port);
});
Here is an excerpt from my package.json:
{
"dependencies": {
"aws-sdk": "^2.0.22",
"bcrypt": "~0.8.0",
"body-parser": "^1",
"browserify": "^9.0.3",
"connect-flash": "~0.1.1",
"cookie-parser": "~1.1.0",
(...more dependencies listed...)
},
"devDependencies": {
"gulp": "^3.8.11",
"gulp-concat": "~2.4.1",
"gulp-jshint": "^1.9.4",
"gulp-livereload": "~2.1.1",
(...more dev dependencies listed...)
},
"scripts": {
"start": "node app.js"
},
"engines": {
"node": "0.12.0",
"npm": "2.5.1"
}
}