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
Latest version of Yarn is 1.22.21
Checking if YARN is already installed...
A different version of Yarn is installed (1.22.19); removing it
^@^@Installing YARN v1.22.21
Verifying YARN install
Something went wrong; the specified version of Yarn could not be installed
Exited with code exit status 1
Expected behavior:
The newer version of yarn should be installed without the error.
Additional Information:
The script installs the newer version of yarn to /usr/local/bin/yarn. However, on this machine executor (ubuntu-2204:2024.01.1), yarn is being pulled from nvm:
circleci@ip-10-0-169-43:~$ which yarn
/opt/circleci/.nvm/versions/node/v20.10.0/bin/yarn
Orb version:
5.2.0
What happened:
Expected behavior:
The newer version of
yarn
should be installed without the error.Additional Information:
The script installs the newer version of
yarn
to/usr/local/bin/yarn
. However, on this machine executor (ubuntu-2204:2024.01.1
),yarn
is being pulled fromnvm
:circleci@ip-10-0-169-43:~$ which yarn /opt/circleci/.nvm/versions/node/v20.10.0/bin/yarn
Which is earlier in the
PATH
:So the newer version being installed does not pass the final check
node-orb/src/scripts/install-yarn.sh
Lines 79 to 86 in 66a75a3
The text was updated successfully, but these errors were encountered: