Bamboo Cannot execute bower install or grunt build

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

This widget could not be displayed.

Solved issue

Set sub-working directory to the correct path

What path is the correct path?

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

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published an hour ago in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

19 views 0 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you