Note that there are some explanatory texts on larger screens.

plurals
  1. PONode.js Heroku Deployment - Fails To Exec Postinstall Script To Install Bower
    text
    copied!<p>Deployment of my Node.js MEAN app to heroku fails with the following errors. I can't figure out what is wrong with the bower install... </p> <p>Here is the error message:</p> <pre><code>2606 info postinstall App@1.0.0 2607 verbose unsafe-perm in lifecycle true 2608 info App@1.0.0 Failed to exec postinstall script 2609 error App@1.0.0 postinstall: `./node_modules/bower/bin/bower install` 2609 error Exit status 1 2610 error Failed at the App@1.0.0 postinstall script. 2610 error This is most likely a problem with the App package, 2610 error not with npm itself. 2610 error Tell the author that this fails on your system: 2610 error ./node_modules/bower/bin/bower install ! Push rejected, failed to compile Node.js app </code></pre> <p>Here is my Bower.json</p> <pre><code> { "name": "mean", "version": "1.0.0", "dependencies": { "bootstrap": "*", "angular": "*", "angular-resource": "*", "angular-cookies": "*", "angular-ui-utils": "*", "angular-bootstrap": "*", "json3": "*", "jquery": "*", "angular-ui-router": "*", "angular-animate": "*", "move.js": "git://github.com/visionmedia/move.js.git#~0.3.3", "animate.css": "*", "ngAnimate-animate.css": "*", "angularLocalStorage": "~0.1.7", "jquery-nicescroll": "*" }, "resolutions": { "angular": "1.2.4" } } </code></pre> <p>Here is my Package.json</p> <pre><code>"scripts": { "start": "node node_modules/grunt-cli/bin/grunt", "test": "node node_modules/grunt-cli/bin/grunt test", "postinstall": "./node_modules/bower/bin/bower install" }, </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload