You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
My bamboo jobs fail with the following....
"'bower' is not recognized as an internal or external command, operable program or batch file' " This should be so easy.
Coming from a site recovery, I have an issue with Bower configuration. After running an npm install bower -g (global), the agent still can't find it.
I added the (bamboo agent) user directory "AppData\roaming\npm to the system path as the last resort which I will reboot the server after business hours for path change to take effect.
Any other ideas?
My first recommendation would be to eliminate Bamboo from the equation and make sure that you can run a bower command such as checking the version from a command prompt/terminal on the server.
If that works, the next step would be to look at the build plan itself. What type of task is it failing on? If it's a script task, what type of shell is it trying to run the script in? If it's an NPM task is the correct npm executable path being loaded?
You can define Agent specific paths for the location of executables, I've run into this in the past when setting up a new remote machine where the person who installed everything didn't do so in the same location that we use elsewhere so I needed to provide an agent specific path for the same executable.
Just some thoughts.
Hope that helps!
We are running a script task which executes "bower install" under the build working directory of the build src.
It yields error.
'bower' is not recognized as an internal or external command,
operable program or batch file.
I will reboot tonight to see if the path addition to the path variable resolves the issue. Let me know if you any other ideas.