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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.