node.js - Heroku application error H10 -


getting on logs on heroku deploy attempt:

2017-01-05t13:22:25.579047+00:00 heroku[router]: at=error code=h10 desc="app crashed" method=get path="/favicon.ico" host=fwc-node.herokuapp.com request_id=7c8a5b24-4af5-4c1b-a0d1-c373b4916459 fwd="2.102.204.147" dyno= connect= service= status=503 bytes=

2017-01-05t13:22:25.288450+00:00 heroku[router]: at=error code=h10 desc="app crashed" method=get path="/" host=fwc-node.herokuapp.com request_id=47e66938-a57d-4d83-b1cf-220030adb90e fwd="2.102.204.147" dyno= connect= service= status=503 bytes=

2017-01-05t13:22:25.543923+00:00 heroku[router]: at=error code=h10 desc="app crashed" method=get path="/favicon.ico" host=fwc-node.herokuapp.com request_id=10baa1a5-bcfc-496d-ae3a-f0dab4c01b36 fwd="2.102.204.147" dyno= connect= service= status=503 bytes=

this package .json { "name": "application", "version": "0.0.2", "private": "true", "scripts": { "start": "node ./bin/www" }, "dependencies": { "bcrypt-nodejs": "0.0.3", "body-parser": "~1.13.2", "connect-flash": "^0.1.1", "connect-mongo": "^1.3.2", "cookie-parser": "~1.3.5", "csurf": "^1.9.0", "debug": "~2.2.0", "express": "^4.13.4", "express-handlebars": "^3.0.0", "express-session": "^1.14.2", "express-validator": "^3.1.1", "hbs": "~3.1.0", "mongodb": "^2.2.17", "mongoose": "^4.7.4", "morgan": "~1.6.1", "node": "0.0.0", "nodemon": "^1.11.0", "passport": "^0.3.2", "passport-local": "^1.0.0", "serve-favicon": "~2.3.0", "session": "^0.1.0", "stripe": "^4.14.0" } }

and procfile web: node ./bin/www

i tried heroku restart , got this: var bson = new bson([bson.binary, bson.code, bson.dbref, bson.decimal128, typeerror: bson not constructor

can't figure out why won't deploy, in advance!


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -