Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy it on heroku #212

Open
darse123 opened this issue Nov 26, 2018 · 1 comment
Open

Deploy it on heroku #212

darse123 opened this issue Nov 26, 2018 · 1 comment

Comments

@darse123
Copy link

I just installed this project on my local and deploy it on heroku.
It is working on my local, but crashed on heroku.

2018-11-26T16:05:14.691728+00:00 app[web.1]: sh: 1: polymer: not found
2018-11-26T16:05:14.736271+00:00 app[web.1]: npm ERR! file sh
2018-11-26T16:05:14.737858+00:00 app[web.1]: npm ERR! code ELIFECYCLE
2018-11-26T16:05:14.740180+00:00 app[web.1]: npm ERR! errno ENOENT
2018-11-26T16:05:14.740507+00:00 app[web.1]: npm ERR! syscall spawn
2018-11-26T16:05:14.750534+00:00 app[web.1]: npm ERR! @polymer/[email protected] start: `polymer serve`
2018-11-26T16:05:14.750764+00:00 app[web.1]: npm ERR! spawn ENOENT
2018-11-26T16:05:14.752285+00:00 app[web.1]: npm ERR! 
2018-11-26T16:05:14.752592+00:00 app[web.1]: npm ERR! Failed at the @polymer/[email protected] start script.
2018-11-26T16:05:14.756382+00:00 app[web.1]: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
2018-11-26T16:05:14.783484+00:00 app[web.1]: 
2018-11-26T16:05:14.789050+00:00 app[web.1]: npm ERR! A complete log of this run can be found in:
2018-11-26T16:05:14.789230+00:00 app[web.1]: npm ERR!     /app/.npm/_logs/2018-11-26T16_05_14_762Z-debug.log
2018-11-26T16:08:44.468570+00:00 heroku[router]: at=error code=H20 desc="App boot timeout" method=GET path="/" host=newrelicshopping.herokuapp.com request_id=8f25cb95-d00b-449c-b0da-3f1164f8ea6c fwd="83.174.182.142" dyno= connect= service= status=503 bytes= protocol=https
2018-11-26T16:09:44.562503+00:00 heroku[router]: at=error code=H20 desc="App boot timeout" method=GET path="/" host=newrelicshopping.herokuapp.com request_id=4f66a9ac-e4f4-4824-8c6d-887911bb9211 fwd="83.174.182.142" dyno= connect= service= status=503 bytes= protocol=https
2018-11-26T16:09:48.844374+00:00 heroku[router]: at=error code=H20 desc="App boot timeout" method=GET path="/" host=newrelicshopping.herokuapp.com request_id=20e6804a-27e4-4fd1-a71d-18ff2cb8e85f fwd="83.174.182.142" dyno= connect= service= status=503 bytes= protocol=https
@keanulee
Copy link
Contributor

Is polymer-cli installed? Does the shell on heroku actually run npm start or the contents of the package.json start script is. npm start is needed if polymer-cli is not installed globally (which is the case if you just ran npm install.

Side note: you should consider deploying the built output in server/ instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants