I am using the heorku-buildpack-ember-cli, but when I push to heroku and my dependencies begin to install, I immediately get the following error from my ember-cli-bootstrap addon’s post install:
> ember-cli-bootstrap@0.0.12 postinstall /tmp/build_8997e52c-3cf3-4a16-ab57-bb9e124b8bd8/node_modules/ember-cli-bootstrap
> bower install
sh: bower: not found
npm ERR! ember-cli-bootstrap@0.0.12 postinstall: `bower install`
npm ERR! Exit status 127
npm ERR!
npm ERR! Failed at the ember-cli-bootstrap@0.0.12 postinstall script.
npm ERR! This is most likely a problem with the ember-cli-bootstrap package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! bower install
npm ERR! You can get their info via:
npm ERR! npm owner ls ember-cli-bootstrap
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.8.11-ec2
npm ERR! command "/tmp/build_8997e52c-3cf3-4a16-ab57-bb9e124b8bd8/vendor/node/bin/node" "/tmp/build_8997e52c-3cf3-4a16-ab57-bb9e124b8bd8/vendor/node/bin/npm" "install" "--quiet" "--userconfig" "/tmp/build_8997e52c-3cf3-4a16-ab57-bb9e124b8bd8/.npmrc"
npm ERR! cwd /tmp/build_8997e52c-3cf3-4a16-ab57-bb9e124b8bd8
npm ERR! node -v v0.10.32
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR! not ok code 0
I have tried quite a few solutions from similar problems, like adding a postinstall script and adding bower to the dependencies in package.json, but nothing has worked thus far.
Any suggestions would be much appreciated.
Thanks, Ben H