You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As workaround I have found: heroku config:set NPM_CONFIG_PRODUCTION=false which makes it possible to install dev dependencies. It's not a long term solution, because usually the server shouldn't be started in production with a babel or nodemon package, but at least it's possible to try it this way.
I'm in the middle of deploying the api to heroku. Do you want a PR product ionizing the api under start and add a dev script you can do npm run dev for development. In development you should use nodemon.
As workaround I have found:
heroku config:set NPM_CONFIG_PRODUCTION=false
which makes it possible to install dev dependencies. It's not a long term solution, because usually the server shouldn't be started in production with a babel or nodemon package, but at least it's possible to try it this way.Ref: https://stackoverflow.com/questions/22954782/install-devdependencies-on-heroku
The text was updated successfully, but these errors were encountered: