sigfox-platform icon indicating copy to clipboard operation
sigfox-platform copied to clipboard

Heroku deploy fails

Open ugiordan opened this issue 6 years ago • 2 comments
trafficstars

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 avatar Sep 03 '19 09:09 ugiordan

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 avatar Sep 03 '19 12:09 ugiordan

@ugiordan did it finally work for you?

qbsho avatar Feb 10 '22 15:02 qbsho