tricknotes / ember-cli-rails

Unify your EmberCLI and Rails Workflows
http://thoughtbot.github.io/ember-cli-rails/
MIT License
713 stars 205 forks source link

postinstall hook disappearing #454

Closed Leooo closed 8 years ago

Leooo commented 8 years ago

Hi, several times I've been faced with this when trying to deploy to Heroku, and everytime I lost one night trying to solve the issue (call me goldfish but I tend to forget solutions to issues after 6 months): I don't know why or when or how, but sometimes the postinstall hook disappears from package.json, leading to the cryptic error EmberCli::BuildError: has failed to build: TypeError: Cannot read property 'option' of undefined in the heroku logs. ember build --environment=production works well in the console so it's especially tricky to debug. Is there a way to add a warning from ember-cli-rails when the postinstall hook is missing?

Disclaimer: using ember-cli-rails-addon version 0.7.0 so apologies if this has been fixed in further releases.

https://github.com/thoughtbot/ember-cli-rails/issues/80

Leooo commented 8 years ago

not sure that's my problem, closing