Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Community showcase
Published in Bamboo

Bamboo Data Center 8.1 is now available

G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...

213 views 0 4
Read article

Community Events

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

Events near you