dimanche 1 mars 2015

Heroku deployment: and it does not work again

could you please help, I can't find a solution. I did some simple changes in my app, locally it works fine, but after deploying to heroku, I get that nasty Application Error. What is wrong?



2015-03-01T15:54:28.333544+00:00 heroku[web.1]: Starting process with command `npm start`
2015-03-01T15:54:30.476830+00:00 app[web.1]: Detected 512 MB available memory, 512 MB limit per process (WEB_MEMORY)
2015-03-01T15:54:30.476853+00:00 app[web.1]: Recommending WEB_CONCURRENCY=1
2015-03-01T15:54:31.099780+00:00 app[web.1]: > tubka@0.0.0 start /app
2015-03-01T15:54:31.099773+00:00 app[web.1]:
2015-03-01T15:54:31.099782+00:00 app[web.1]: > node ./bin/www
2015-03-01T15:54:31.099784+00:00 app[web.1]:
2015-03-01T15:54:31.762091+00:00 app[web.1]: at new ClientRequest (_http_client.js:101:14)
2015-03-01T15:54:31.806166+00:00 app[web.1]: npm ERR! code ELIFECYCLE
2015-03-01T15:54:31.762077+00:00 app[web.1]: _http_outgoing.js:333
2015-03-01T15:54:31.805597+00:00 app[web.1]: npm ERR! node v0.12.0
2015-03-01T15:54:31.806661+00:00 app[web.1]: npm ERR!
2015-03-01T15:54:31.807057+00:00 app[web.1]: npm ERR! This is most likely a problem with the tubka package,
2015-03-01T15:54:31.807830+00:00 app[web.1]: npm ERR! You can get their info via:
2015-03-01T15:54:31.762098+00:00 app[web.1]: at Function.Module.runMain (module.js:503:11)
2015-03-01T15:54:31.806492+00:00 app[web.1]: npm ERR! Exit status 1
2015-03-01T15:54:31.807551+00:00 app[web.1]: npm ERR! Tell the author that this fails on your system:
2015-03-01T15:54:31.808159+00:00 app[web.1]: npm ERR! npm owner ls tubka
2015-03-01T15:54:31.762087+00:00 app[web.1]: Error: "name" and "value" are required for setHeader().
2015-03-01T15:54:31.762101+00:00 app[web.1]: at node.js:814:3
2015-03-01T15:54:31.805361+00:00 app[web.1]: npm ERR! argv "/app/.heroku/node/bin/node" "/app/.heroku/node/bin/npm" "start"
2015-03-01T15:54:31.807197+00:00 app[web.1]: npm ERR! not with npm itself.
2015-03-01T15:54:31.808287+00:00 app[web.1]: npm ERR! There is likely additional logging output above.
2015-03-01T15:54:31.818023+00:00 app[web.1]:
2015-03-01T15:54:31.762085+00:00 app[web.1]: ^
2015-03-01T15:54:31.805983+00:00 app[web.1]: npm ERR! npm v2.5.1
2015-03-01T15:54:31.751432+00:00 app[web.1]: Starting CrawlShit for the first time
2015-03-01T15:54:31.804970+00:00 app[web.1]: npm ERR! Linux 3.13.0-40-generic
2015-03-01T15:54:31.720441+00:00 app[web.1]: websocket server created
2015-03-01T15:54:31.762089+00:00 app[web.1]: at ClientRequest.OutgoingMessage.setHeader (_http_outgoing.js:333:11)
2015-03-01T15:54:31.762100+00:00 app[web.1]: at startup (node.js:129:16)
2015-03-01T15:54:31.799031+00:00 app[web.1]:
2015-03-01T15:54:31.806893+00:00 app[web.1]: npm ERR! Failed at the tubka@0.0.0 start script 'node ./bin/www'.
2015-03-01T15:54:31.807705+00:00 app[web.1]: npm ERR! node ./bin/www
2015-03-01T15:54:31.820237+00:00 app[web.1]: npm ERR! /app/npm-debug.log
2015-03-01T15:54:31.762095+00:00 app[web.1]: at /app/node_modules/simplecrawler/lib/crawler.js:768:11
2015-03-01T15:54:31.762093+00:00 app[web.1]: at Object.exports.request (http.js:49:10)
2015-03-01T15:54:31.806342+00:00 app[web.1]: npm ERR! tubka@0.0.0 start: `node ./bin/www`
2015-03-01T15:54:31.685050+00:00 app[web.1]: http server listening on 38550
2015-03-01T15:54:31.818514+00:00 app[web.1]: npm ERR! Please include the following file with any support request:
2015-03-01T15:54:31.762083+00:00 app[web.1]: throw new Error('"name" and "value" are required for setHeader().');
2015-03-01T15:54:31.762096+00:00 app[web.1]: at process._tickCallback (node.js:355:11)
2015-03-01T15:54:32.723003+00:00 heroku[web.1]: Process exited with status 1
2015-03-01T15:54:32.735515+00:00 heroku[web.1]: State changed from starting to crashed

Aucun commentaire:

Enregistrer un commentaire