Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

how to add Server capabilities for node.js

SaiCharan May 27, 2019

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
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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
AUG Leaders

Atlassian Community Events