My bamboo plan hangs when I run the nvm related commands

Mahesh February 8, 2024

Hi There,

I have a requirement of using multiple nodeJs versions.

For this I am using nvm (node version Manager). 

In my bamboo plan script task when I run nvm list or nvm use 20 commands, My bamboo plan hangs and never gets completed.

I tried using shell, cmd, powershell as interpreters. Even ran as script file also.

Also specified full path for nvm.exe

Much appreciated for the responses.

3 answers

1 accepted

1 vote
Answer accepted
Mahesh February 9, 2024

It is because of nvm version 1.1.12.

nvm version 1.1.10 works fine for me @Sharmila 

0 votes
Danvale Times
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 19, 2024

Its normal for any person to run into this sort of of problem. I think you are facing this problem because you are probably using an outdated version of nvm or because you are trying to run too many commands on bamboo script.
Bamboo Items can easily solve any problem. You can read more by clicking on Bamboo Items.

0 votes
Sharmila
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 8, 2024

Hi Mahesh,

Since we don't have any logs to check what is happening our next suggestion would be to run these commands directly on the Bamboo server and let us know what happens. If it runs successfully then you can raise a ticket with us. But if it doesn't run then you will have to look at your script and the commands in it.

Regards,

Sharmila

Mahesh February 9, 2024

Hi @Sharmila ,

Yes it is working locally. 

All nvm related commands are hanging when ran from bamboo script. 

Sharmila
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 9, 2024

Hi Mahesh,

Thanks for testing it on Bamboo server. What is the error message you see in the build logs?

Regards,

Sharmila

Mahesh February 13, 2024

There is no error message, But the build hangs. 
with the 1.1.10 version it is no more hanging, Build is succeeding.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events