Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,369,282
Community Members
 
Community Events
168
Community Groups

how to add Server capabilities for node.js

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.

1 answer

0 votes
Jimmy Seddon Community Leader May 28, 2019

Hi @SaiCharan,

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!

-James

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events