rangle-starter icon indicating copy to clipboard operation
rangle-starter copied to clipboard

devDependencies not being installed on heroku by default

Open kosz opened this issue 8 years ago • 1 comments

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 screen shot 2016-03-13 at 2 10 17 pm

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

kosz avatar Mar 13 '16 19:03 kosz

I've seen this happen before for my personal projects too. I think this is a heroku configuration issue, but I'm not 100%.

rbrander avatar Apr 05 '17 17:04 rbrander