Unable to find executable at /usr/local/bin/node. Will try to run it anyway.
command 28-May-2019 04:25:32 Beginning to execute external process for build 'newDev - new - Default Job #9 (NEW-NEW-JOB1-9)'\n ... running command line: \n/usr/local/bin/node /usr/local/bin/npm install\n ... in: /var/atlassian/application-data/bamboo/xml-data/build-dir/NEW-NEW-JOB1\n ... using extra environment variables:
Failing task since return code of [/usr/local/bin/node /usr/local/bin/npm install] was -1 while expected 0
simple 28-May-2019 04:25:32 Finished task 'NPM Install' with result: Failed
simple 28-May-2019 04:25:32 Running post build plugin 'NCover Results Collector'
simple 28-May-2019 04:25:32 Running post build plugin 'Artifact Copier'
simple 28-May-2019 04:25:32 Running post build plugin 'npm Cache Cleanup'
simple 28-May-2019 04:25:32 Running post build plugin 'Clover Results Collector'
simple 28-May-2019 04:25:32 Running post build plugin 'Docker Container Cleanup'
simple 28-May-2019 04:25:32 Finalising the build...
simple 28-May-2019 04:25:32 Stopping timer.
simple 28-May-2019 04:25:32 Build NEW-NEW-JOB1-9 completed.
I have discovered that you will encounter this error if the user running the Bamboo server service has a local/user defined path variable in addition to the system defined one. That bug is captured here: https://jira.atlassian.com/browse/BAM-16205
The workaround is to delete the user defined PATH variable and things should start working for you.
I hope that helps!
G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events