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
The script will set up nvm on every npm call when running on CI (source).
The issue is that Go runs commands with /bin/bash by default so unless nvm is set up to run in bash, the npm calls that the script makes will not load nvm and fall back to the systems global node/npm.
Locally the fix is to make sure that nvm is set up to work with bash by adding the "nvm snippet" to ~/.bash_profile
The text was updated successfully, but these errors were encountered:
The script will set up
nvm
on everynpm
call when running on CI (source).The issue is that Go runs commands with
/bin/bash
by default so unlessnvm
is set up to run inbash
, thenpm
calls that the script makes will not loadnvm
and fall back to the systems global node/npm.Locally the fix is to make sure that
nvm
is set up to work with bash by adding the "nvm snippet" to~/.bash_profile
The text was updated successfully, but these errors were encountered: