Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yarn-install fails if other version of yarn installed #148

Open
bdellegrazie opened this issue May 2, 2022 · 0 comments
Open

yarn-install fails if other version of yarn installed #148

bdellegrazie opened this issue May 2, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@bdellegrazie
Copy link

Orb version: 5.0.2

What happened:

When executing install-yarn and there is an existing version of yarn installed that is different, the install fails.

Snippet of usage:

      - node/install-yarn:
          version: '<<pipeline.parameters.yarn_version>>'

yarn_version pipeline parameter is set to 1.22.18

Output:

Selected version of Yarn is 1.22.18
Checking if YARN is already installed...
A different version of Yarn is installed (1.22.17); removing it
Installing YARN v1.22.18
mv: rename yarn-v1.22.18/* to /opt/yarn/*: No such file or directory

Exited with code exit status 1

Expected behavior:

Yarn v1.22.18 should be installed

Additional Information:

operating system: MacOS although I've seen this happen on Linux too

    macos:
      xcode: '13.2.1'
    resource_class: 'medium'
@bdellegrazie bdellegrazie added the bug Something isn't working label May 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant