1
73689 info install [email protected]
73690 info postinstall [email protected]
73691 verbose unsafe-perm in lifecycle true
73692 info [email protected] Failed to exec postinstall script
73693 error [email protected] postinstall: `node node_modules/bower/bin/bower install`
73693 error Exit status 1
73694 error Failed at the [email protected] postinstall script.
73694 error This is most likely a problem with the mean package,
73694 error not with npm itself.
73694 error Tell the author that this fails on your system:
73694 error     node node_modules/bower/bin/bower install
73694 error You can get their info via:
73694 error     npm owner ls mean
73694 error There is likely additional logging output above.
73695 error System Linux 3.8.11-ec2
73696 error command "/tmp/build_7a494e6b-c84c-45df-a7ae-d42028830f5d/vendor/node/bin/node" "/tmp/build_7a494e6b-c84c-45df-a7ae-d42028830f5d/vendor/node/bin/npm" "install" "--userconfig" "/tmp/build_7a494e6b-c84c-45df-a7ae-d42028830f5d/.npmrc" "--production"
73697 error cwd /tmp/build_7a494e6b-c84c-45df-a7ae-d42028830f5d
73698 error node -v v0.10.24
73699 error npm -v 1.3.21
73700 error code ELIFECYCLE
73701 verbose exit [ 1, true ]

 !     Push rejected, failed to compile Node.js app

That's what I get when I push to heroku

2 Answers 2

1

This issue was answered in the following post. The solution worked for me :)

MEAN stack, Win 7, git push heroku master results in sh: bower: not found error

Sign up to request clarification or add additional context in comments.

1 Comment

Often a good idea to post a bit of text from the link as well as the link.
0

Turns out my bower.json had a bootswatch version 3.0.3+1 which couldn't be deciphered. So I changed that to 3.0.3 and it worked

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.