You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there anything in any of your profile files that modifies the PATH?
Nope
If you are having installation issues, or getting "N/A", what does curl -I --compressed -v https://nodejs.org/dist/ print out?
The text was updated successfully, but these errors were encountered:
jobackman
changed the title
NVM_HAS_COLORS unbound variable in Github Actions UbuntuNVM_HAS_COLORS unbound variable in shell scripts running in Github Actions Ubuntu images
Oct 26, 2022
Operating system and version:
Github actions CI runner: https://github.com/actions/runner-images/blob/ubuntu20/20221024.1/images/linux/Ubuntu2004-Readme.md
nvm debug
output:nvm ls
output:Getting this output on the runner is the issue
How did you install
nvm
?Preinstalled on the github actions runner image: https://github.com/actions/runner-images/blob/ubuntu20/20221024.1/images/linux/Ubuntu2004-Readme.md
What steps did you perform?
set -u
flag enablednvm list
This fails
with-u-opt.sh
This works
without-u-opt.sh
What happened?
Example run from reproduction repo
/home/runner/.nvm/nvm.sh: line 1695: NVM_HAS_COLORS: unbound variable Error: Process completed with exit code 1.
What did you expect to happen?
In v0.39.1 this error did not happen on the runner but after the latest image, which upgraded nvm to v0.39.2
I believe this has been the case since #2827 was merged
Reproduction repository:
https://github.com/jobackman/nvm-unbound-variable
Example run
Is there anything in any of your profile files that modifies the
PATH
?Nope
If you are having installation issues, or getting "N/A", what does
curl -I --compressed -v https://nodejs.org/dist/
print out?The text was updated successfully, but these errors were encountered: