rangle-starter
rangle-starter copied to clipboard
devDependencies not being installed on heroku by default
Even though the app.json
file seems to configure NPM_CONFIG_PRODUCTION=false, deployment attempts on Heroku do not work until this setting is manually added to heroku using the heroku toolbelt.
Steps to reproduce ( at least on my heroku account ):
- clone the starter repo and setup a new github repo with it
- setup Heroku to deploy from the new github repo
- attempt to manually deploy will fail
Workaround :
https://github.com/mbuchetics/heroku-buildpack-nodejs-grunt/issues/5#issuecomment-73810004
Other notes:
- PR Apps work out of the box.
- I've experienced this with the angular starters as well as the typescript react starter
- Other people, using other heroku accounts, indicated that they cannot reproduce
I've seen this happen before for my personal projects too. I think this is a heroku configuration issue, but I'm not 100%.