Skip to content

postinstall fails when bower isn't in PATH #4

Description

@nikolas

ember-cli-cookie seems to be making an assumption about where bower is installed, but I can't find where to fix this. I'm getting an error if I'm using a project-specific bower instead, e.g. ./node_modules/.bin/bower.

Binary is fine; exiting
npm ERR! Linux 3.16.0-24-generic
npm ERR! argv "node" "/home/nnyby/node_modules/.bin/npm" "install"
npm ERR! node v0.10.33
npm ERR! npm  v2.1.4
npm ERR! code ELIFECYCLE

npm ERR! ember-cli-cookie@0.0.2 postinstall: `bower install`
npm ERR! Exit status 127
npm ERR! 
npm ERR! Failed at the ember-cli-cookie@0.0.2 postinstall script.
npm ERR! This is most likely a problem with the ember-cli-cookie 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-cookie
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/nnyby/src/wacep/media/WeatherRoulette/npm-debug.log

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions