gtb icon indicating copy to clipboard operation
gtb copied to clipboard

Bower is installed locally to the project and GTB doesn't find it

Open TizianoPerrucci opened this issue 8 years ago • 0 comments

I get an error when trying to build my project:

[13:25:48] Bower is not installed. Please install it with "npm install -g bower" before you run the script again.

I don't install bower globally because I want my CI environment to build multiple project and each one of them could use a specific version of bower. Therefore GTB expects to find bower globally installed but indeed that is not true.

In a local installation bower can be found in node_modules/.bin/bower.

Can GTB look first locally for bower and if doesn't then fallback to globally?

TizianoPerrucci avatar Nov 17 '15 13:11 TizianoPerrucci