Bamboo Cannot execute bower install or grunt build

Luis Solano May 30, 2014

Using the npm Bamboo plugin I'm able to execute the npm -g install grunt-cli karma bower and npm install

My issue comes up when I attempt to run the bower watch command. According to the log received "bower" is not an available option

Default Job Default Stage Download or View

30-May-2014 11:57:38

30-May-2014 11:57:38 where <command> is one of:

30-May-2014 11:57:38 add-user, adduser, apihelp, author, bin, bugs, c, cache,

30-May-2014 11:57:38 completion, config, ddp, dedupe, deprecate, docs, edit,

30-May-2014 11:57:38 explore, faq, find, find-dupes, get, help, help-search,

30-May-2014 11:57:38 home, i, info, init, install, isntall, issues, la, link,

30-May-2014 11:57:38 list, ll, ln, login, ls, outdated, owner, pack, prefix,

30-May-2014 11:57:38 prune, publish, r, rb, rebuild, remove, repo, restart, rm,

30-May-2014 11:57:38 root, run-script, s, se, search, set, show, shrinkwrap,

30-May-2014 11:57:38 star, stars, start, stop, submodule, t, tag, test, tst, un,

30-May-2014 11:57:38 uninstall, unlink, unpublish, unstar, up, update, v,

30-May-2014 11:57:38 version, view, whoami

30-May-2014 11:57:38

30-May-2014 11:57:38 npm <cmd> -h quick help on <cmd>

// Omitted output

then I created a script to run the following bower and the grunt commands within the project directory, but it didn't work b/c JQuery,Bootstrap, etc were not downloaded

Cam some give the steps required in Bambo to run the bower and grunt command after npm install

Thanks in advance,

Luis Solano

1 answer

0 votes
Luis Solano June 12, 2014

Solved issue

Set sub-working directory to the correct path

Mike August 17, 2015

What path is the correct path?

Luis Solano August 17, 2015

it should point the location where your project was checked-out

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events