christophercliff/flatmarket-server-heroku

Deployed app doesn't work

Opened this issue · 1 comments

trying to set up the heroku app, and it keeps crashing. Here's the logs:

2016-04-22T01:30:23.617654+00:00 app[web.1]: at Module.load (module.js:356:32)
2016-04-22T01:30:23.617655+00:00 app[web.1]: at Function.Module.runMain (module.js:497:10)
2016-04-22T01:30:24.571805+00:00 heroku[web.1]: Process exited with status 8
2016-04-22T01:30:27.350714+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=netlify-flatmarket.herokuapp.com request_id=498e59e7-52b2-4340-b2c8-dddb8da63d45 fwd="73.158.98.224" dyno= connect= service= status=503 bytes=
2016-04-22T01:35:42.310066+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=netlify-flatmarket.herokuapp.com request_id=50d43aef-1d19-4f3f-ad48-716da07353d3 fwd="73.158.98.224" dyno= connect= service= status=503 bytes=
2016-04-22T01:30:23.617654+00:00 app[web.1]: at Module.load (module.js:356:32)
2016-04-22T01:30:23.617654+00:00 app[web.1]: at Function.Module._load (module.js:312:12)
2016-04-22T01:30:23.617655+00:00 app[web.1]: at startup (node.js:119:16)
2016-04-22T01:30:23.617656+00:00 app[web.1]: at node.js:945:3
2016-04-22T01:30:24.589323+00:00 heroku[web.1]: State changed from starting to crashed
2016-04-22T01:30:27.350714+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=netlify-flatmarket.herokuapp.com request_id=498e59e7-52b2-4340-b2c8-dddb8da63d45 fwd="73.158.98.224" dyno= connect= service= status=503 bytes=
2016-04-22T01:35:41.043031+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=netlify-flatmarket.herokuapp.com request_id=247c6b6e-da2e-4976-b919-a7f3acbc835e fwd="73.158.98.224" dyno= connect= service= status=503 bytes=
2016-04-22T01:35:42.310066+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=netlify-flatmarket.herokuapp.com request_id=50d43aef-1d19-4f3f-ad48-716da07353d3 fwd="73.158.98.224" dyno= connect= service= status=503 bytes=
2016-04-22T01:30:23.617654+00:00 app[web.1]: at Module.load (module.js:356:32)
2016-04-22T01:30:23.617655+00:00 app[web.1]: at Function.Module.runMain (module.js:497:10)
2016-04-22T01:30:23.617655+00:00 app[web.1]: at startup (node.js:119:16)
2016-04-22T01:30:24.571805+00:00 heroku[web.1]: Process exited with status 8
2016-04-22T01:30:24.589323+00:00 heroku[web.1]: State changed from starting to crashed
2016-04-22T01:30:27.350714+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=netlify-flatmarket.herokuapp.com request_id=498e59e7-52b2-4340-b2c8-dddb8da63d45 fwd="73.158.98.224" dyno= connect= service= status=503 bytes=
2016-04-22T01:35:41.043031+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=netlify-flatmarket.herokuapp.com request_id=247c6b6e-da2e-4976-b919-a7f3acbc835e fwd="73.158.98.224" dyno= connect= service= status=503 bytes=
2016-04-22T01:35:42.310066+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=netlify-flatmarket.herokuapp.com request_id=50d43aef-1d19-4f3f-ad48-716da07353d3 fwd="73.158.98.224" dyno= connect= service= status=503 bytes=
2016-04-22T01:43:16.658844+00:00 heroku[web.1]: State changed from crashed to starting
2016-04-22T01:43:17.758728+00:00 heroku[web.1]: Starting process with command node ./node_modules/flatmarket-server/lib/start
2016-04-22T01:43:20.012839+00:00 app[web.1]:
2016-04-22T01:43:20.012937+00:00 app[web.1]: undefined:1
2016-04-22T01:43:20.014549+00:00 app[web.1]: at Module._compile (module.js:456:26)
2016-04-22T01:43:20.014551+00:00 app[web.1]: at Function.Module._load (module.js:312:12)
2016-04-22T01:43:20.014552+00:00 app[web.1]: at Function.Module.runMain (module.js:497:10)
2016-04-22T01:43:20.871207+00:00 heroku[web.1]: Process exited with status 8
2016-04-22T01:43:20.884485+00:00 heroku[web.1]: State changed from starting to crashed
2016-04-22T01:43:20.014547+00:00 app[web.1]: at Object.parse (native)
2016-04-22T01:43:20.014549+00:00 app[web.1]: at Module._compile (module.js:456:26)
2016-04-22T01:43:20.014551+00:00 app[web.1]: at Function.Module._load (module.js:312:12)
2016-04-22T01:43:20.014552+00:00 app[web.1]: at Function.Module.runMain (module.js:497:10)
2016-04-22T01:43:20.014552+00:00 app[web.1]: at startup (node.js:119:16)
2016-04-22T01:43:20.871207+00:00 heroku[web.1]: Process exited with status 8

It looks like a problem with your CORS origin config, see comment #1 (comment)