javascript - Deploying heroku issue -
pushing app heroku. can't seem figure out. getting error code h10.
does have bcrypt library not being compatible 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 2015-04-01t02:27:41.316338+00:00 app[web.1]: npm err! linux 3.13.0-40-generic 2015-04-01t02:27:41.324669+00:00 app[web.1]: npm err! please include following file support request: 2015-04-01t02:27:41.288648+00:00 app[web.1]: @ function.module._load (module.js:310:12) 2015-04-01t02:27:41.288639+00:00 app[web.1]: throw e 2015-04-01t02:27:41.288643+00:00 app[web.1]: error: module did not self-register. 2015-04-01t02:27:41.288653+00:00 app[web.1]: @ bindings (/app/node_modules/bcrypt/node_modules/bindings/bindings.js:74:15) 2015-04-01t02:27:41.288655+00:00 app[web.1]: @ object.<anonymous> (/app/node_modules/bcrypt/bcrypt.js:3:35) 2015-04-01t02:27:41.309493+00:00 app[web.1]: 2015-04-01t02:27:41.288651+00:00 app[web.1]: @ require (module.js:384:17) 2015-04-01t02:27:41.288658+00:00 app[web.1]: @ object.module._extensions..js (module.js:478:10) 2015-04-01t02:27:41.288660+00:00 app[web.1]: @ module.load (module.js:355:32) 2015-04-01t02:27:41.317423+00:00 app[web.1]: npm err! node v0.12.0 2015-04-01t02:27:41.288657+00:00 app[web.1]: @ module._compile (module.js:460:26) 2015-04-01t02:27:41.318635+00:00 app[web.1]: npm err! npm v2.5.1 2015-04-01t02:27:41.319031+00:00 app[web.1]: npm err! @ start: `node app.js` 2015-04-01t02:27:41.319179+00:00 app[web.1]: npm err! exit status 1 2015-04-01t02:27:41.288634+00:00 app[web.1]: /app/node_modules/bcrypt/node_modules/bindings/bindings.js:79 2015-04-01t02:27:41.288642+00:00 app[web.1]: ^ 2015-04-01t02:27:41.288650+00:00 app[web.1]: @ module.require (module.js:365:17) 2015-04-01t02:27:41.318837+00:00 app[web.1]: npm err! code elifecycle 2015-04-01t02:27:41.319384+00:00 app[web.1]: npm err! 2015-04-01t02:27:41.317148+00:00 app[web.1]: npm err! argv "/app/.heroku/node/bin/node" "/app/.heroku/node/bin/npm" "start" 2015-04-01t02:27:41.324134+00:00 app[web.1]: 2015-04-01t02:27:41.324935+00:00 app[web.1]: npm err! /app/npm-debug.log 2015-04-01t02:27:41.288645+00:00 app[web.1]: @ error (native) 2015-04-01t02:27:41.319494+00:00 app[web.1]: npm err! failed @ @ start script 'node app.js'. 2015-04-01t02:27:41.319658+00:00 app[web.1]: npm err! problem package, 2015-04-01t02:27:41.320018+00:00 app[web.1]: npm err! tell author fails on system: 2015-04-01t02:27:41.288647+00:00 app[web.1]: @ module.load (module.js:355:32) 2015-04-01t02:27:41.319869+00:00 app[web.1]: npm err! not npm itself. 2015-04-01t02:27:41.320169+00:00 app[web.1]: npm err! node app.js 2015-04-01t02:27:41.320322+00:00 app[web.1]: npm err! can info via: 2015-04-01t02:27:41.320457+00:00 app[web.1]: npm err! npm owner ls 2015-04-01t02:27:41.320597+00:00 app[web.1]: npm err! there additional logging output above. 2015-04-01t02:27:42.206460+00:00 heroku[web.1]: state changed starting crashed 2015-04-01t02:27:42.197234+00:00 heroku[web.1]: process exited status 1 2015-04-01t02:27:43.390185+00:00 heroku[router]: at=error code=h10 desc="app crashed" method=get path="/" host=vingage.herokuapp.com request_id=d920530a-e7e2-4764-b058-6dee5d694e01 fwd="66.65.150.248" dyno= connect= service= status=503 bytes= 2015-04-01t02:27:44.195737+00:00 heroku[router]: at=error code=h10 desc="app crashed" method=get path="/favicon.ico" host=vingage.herokuapp.com request_id=da6df2f3-c235-4f97-bb4d-1f93f3b32dd6 fwd="66.65.150.248" dyno= connect= service= status=503 bytes= 2015-04-01t02:33:07.773065+00:00 heroku[router]: at=error code=h10 desc="app crashed" method=get path="/" host=vingage.herokuapp.com request_id=c22b31e9-732a-4baf-bca8-ac0818f46f18 fwd="66.65.150.248" dyno= connect= service= status=503 bytes= 2015-04-01t02:33:08.798613+00:00 heroku[router]: at=error code=h10 desc="app crashed" method=get path="/favicon.ico" host=vingage.herokuapp.com request_id=06fbfb5b-8b46-4b1d-b286-5e3fd66068af fwd="66.65.150.248" dyno= connect= service= status=503 bytes= 2015-04-01t02:34:01+00:00 heroku[slug-compiler]: slug compilation started 2015-04-01t02:34:20+00:00 heroku[slug-compiler]: slug compilation finished 2015-04-01t02:34:20.752112+00:00 heroku[api]: deploy 90d886b coo@gmail.com 2015-04-01t02:34:20.752112+00:00 heroku[api]: release v28 created coo@gmail.com 2015-04-01t02:34:21.379248+00:00 heroku[web.1]: state changed crashed starting 2015-04-01t02:34:23.966893+00:00 heroku[web.1]: starting process command `npm start` 2015-04-01t02:34:25.859846+00:00 app[web.1]: detected 512 mb available memory, 512 mb limit per process (web_memory) 2015-04-01t02:34:25.859883+00:00 app[web.1]: recommending web_concurrency=1 2015-04-01t02:34:26.670714+00:00 app[web.1]: > node app.js 2015-04-01t02:34:26.670713+00:00 app[web.1]: > @ start /app 2015-04-01t02:34:26.670707+00:00 app[web.1]: 2015-04-01t02:34:26.670716+00:00 app[web.1]: 2015-04-01t02:34:27.403575+00:00 app[web.1]: /app/node_modules/bcrypt/node_modules/bindings/bindings.js:79 2015-04-01t02:34:27.403579+00:00 app[web.1]: throw e 2015-04-01t02:34:27.403582+00:00 app[web.1]: error: module did not self-register. 2015-04-01t02:34:27.403581+00:00 app[web.1]: ^ 2015-04-01t02:34:27.403583+00:00 app[web.1]: @ error (native) 2015-04-01t02:34:27.403585+00:00 app[web.1]: @ module.load (module.js:355:32) 2015-04-01t02:34:27.403586+00:00 app[web.1]: @ function.module._load (module.js:310:12) 2015-04-01t02:34:27.403587+00:00 app[web.1]: @ module.require (module.js:365:17) 2015-04-01t02:34:27.403588+00:00 app[web.1]: @ require (module.js:384:17) 2015-04-01t02:34:27.403590+00:00 app[web.1]: @ bindings (/app/node_modules/bcrypt/node_modules/bindings/bindings.js:74:15) 2015-04-01t02:34:27.403591+00:00 app[web.1]: @ object.<anonymous> (/app/node_modules/bcrypt/bcrypt.js:3:35) 2015-04-01t02:34:27.403592+00:00 app[web.1]: @ module._compile (module.js:460:26) 2015-04-01t02:34:27.403593+00:00 app[web.1]: @ object.module._extensions..js (module.js:478:10) 2015-04-01t02:34:27.403594+00:00 app[web.1]: @ module.load (module.js:355:32) 2015-04-01t02:34:27.427367+00:00 app[web.1]: 2015-04-01t02:34:27.433120+00:00 app[web.1]: npm err! argv "/app/.heroku/node/bin/node" "/app/.heroku/node/bin/npm" "start" 2015-04-01t02:34:27.433335+00:00 app[web.1]: npm err! node v0.12.0 2015-04-01t02:34:27.433787+00:00 app[web.1]: npm err! npm v2.5.1 2015-04-01t02:34:27.433959+00:00 app[web.1]: npm err! code elifecycle 2015-04-01t02:34:27.434155+00:00 app[web.1]: npm err! @ start: `node app.js` 2015-04-01t02:34:27.434437+00:00 app[web.1]: npm err! exit status 1 2015-04-01t02:34:27.434610+00:00 app[web.1]: npm err! 2015-04-01t02:34:27.434784+00:00 app[web.1]: npm err! failed @ @ start script 'node app.js'. 2015-04-01t02:34:27.435079+00:00 app[web.1]: npm err! not npm itself. 2015-04-01t02:34:27.434944+00:00 app[web.1]: npm err! problem package, 2015-04-01t02:34:27.435206+00:00 app[web.1]: npm err! tell author fails on system: 2015-04-01t02:34:27.435357+00:00 app[web.1]: npm err! node app.js 2015-04-01t02:34:27.435722+00:00 app[web.1]: npm err! npm owner ls 2015-04-01t02:34:27.435482+00:00 app[web.1]: npm err! can info via: 2015-04-01t02:34:27.435907+00:00 app[web.1]: npm err! there additional logging output above. 2015-04-01t02:34:27.443489+00:00 app[web.1]: 2015-04-01t02:34:27.432582+00:00 app[web.1]: npm err! linux 3.13.0-40-generic 2015-04-01t02:34:27.443928+00:00 app[web.1]: npm err! please include following file support request: 2015-04-01t02:34:27.444064+00:00 app[web.1]: npm err! /app/npm-debug.log 2015-04-01t02:34:28.221570+00:00 heroku[web.1]: state changed starting crashed 2015-04-01t02:34:28.215840+00:00 heroku[web.1]: process exited status 1 2015-04-01t02:35:47.458943+00:00 heroku[router]: at=error code=h10 desc="app crashed" method=get path="/" host=vingage.herokuapp.com request_id=9ce0f981-9669-4d15-85b0-ea46046ea01a fwd="66.65.150.248" dyno= connect= service= status=503 bytes= 2015-04-01t02:35:47.971576+00:00 heroku[router]: at=error code=h10 desc="app crashed" method=get path="/favicon.ico" host=vingage.herokuapp.com request_id=3dc0fac9-3235-4e65-a075-57fe6115311d fwd="66.65.150.248" dyno= connect= service= status=503 bytes=
here part of app.js:
var port = process.env.port || 6503; var server = app.listen(port, function() { console.log('express server listening on port ' + server.address().port); });
here 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", "dropzone": "~3.8.4", "express": "^4.12.3", "express-session": "~1.9.1", "jade": "^1", "mongoose": "~4.0.1", "multer": "^0.1.6", "passport": "~0.2.1", "passport-facebook": "~2.0.0", "passport-local": "1.0.0", "serve-favicon": "^2.1.6" }, "devdependencies": { "gulp": "^3.8.11", "gulp-concat": "~2.4.1", "gulp-jshint": "^1.9.4", "gulp-livereload": "~2.1.1", "gulp-minify-css": "~0.3.11", "gulp-uglify": "~1.0.1", "jshint-stylish": "^1.0.1", "require-dir": "^0.3.0", "vinyl-source-stream": "^1.1.0" }, "scripts": { "start": "node app.js" }, "engines": { "node": "0.12.0", "npm": "2.5.1" } }
nevermind. ran:
npm install bcrypt --save
and pushed heroku , works.
Comments
Post a Comment