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

Heroku deploy fails #18

Open
ugiordan opened this issue Sep 3, 2019 · 2 comments
Open

Heroku deploy fails #18

ugiordan opened this issue Sep 3, 2019 · 2 comments

Comments

@ugiordan
Copy link

ugiordan commented Sep 3, 2019

Describe the bug
The app does not deploy on Heroku and fails with the following error:

Some possible problems:
   
   - Dangerous semver range (>) in engines.node
     https://devcenter.heroku.com/articles/nodejs-support#specifying-a-node-js-version

To Reproduce
Just follow the step-by-step Try it now with Heroku guide.

Desktop (please complete the following information):

  • OS: iOS
  • Browser: safari
@ugiordan ugiordan closed this as completed Sep 3, 2019
@ugiordan
Copy link
Author

ugiordan commented Sep 3, 2019

I solved the previous issue by installing the heroku/nodejs buildpack as specified by this Heroku guide.

However, I'm still having problem in deploying this git repot to Heroku.
I had to add the environment.prod.ts file, but despite this there's still an npm ERR! missing script: serve error.

@ugiordan ugiordan reopened this Sep 5, 2019
@qbsho
Copy link

qbsho commented Feb 10, 2022

@ugiordan did it finally work for you?

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