tonycoco / heroku-buildpack-ember-cli

A Heroku Buildpack for Ember CLI Applications
MIT License
321 stars 121 forks source link

Bower not found error #113

Closed jgadbois closed 8 years ago

jgadbois commented 8 years ago

When I push my app I get:

remote: -----> Pruning cached bower dependencies not specified in bower.json
remote:        /tmp/buildpack20151101-165-1wbcvl4/bin/compile: line 186: bower: command not found
remote:
remote:  !     Push rejected, failed to compile Ember CLI app
remote:

Higher up in the logs it says:

remote: -----> Bower already exists

It works if I rebuild everything. Any ideas?

josepjaume commented 8 years ago

Happening to me as well for the last few weeks.

SeyZ commented 8 years ago

+1 same problem. I needed to add the REBUILD_ALL=true to fix it.

raholland79 commented 8 years ago

Same here!

seawatts commented 8 years ago

Same here :+1:

bdmac commented 8 years ago

Kinda makes the REBUILD_ALL flag a bit confusing as every time I deploy I have to set that flag so far.

jgadbois commented 8 years ago

Does anyone know if this repo is still being maintained?

seawatts commented 8 years ago

REBUILD_ALL=true fixed it for me.

@jgadbois no idea...

tonycoco commented 8 years ago

@jgadbois I'm still working on it. Unfortunately, I started a new job and haven't been using Ember at all. Thus, cutting down my tinkering time on it. But, I have a local branch to clean up the codebase and work on a v2 of this buildpack. I'll be pushing it out as soon as I finish it, but until then, pull requests are welcome to fix any and all issues here.

Thanks!

tonycoco commented 8 years ago

Another solution is to add in bower to the package.json for the NPM install, right?

jgadbois commented 8 years ago

Thanks for the update @tonycoco ! I'll try adding bower to the package.json that's a good idea.

jgadbois commented 8 years ago

FYI adding bower to package.json didn't fix the problem for me.

josepjaume commented 8 years ago

It fixed it for me using specifically the 1.5.3 version (not higher ones).

jgadbois commented 8 years ago

@josepjaume did you rebuild from scratch with bower in the package.json for the first run?

kenglxn commented 8 years ago

May be related to/affected by #123