node-orb icon indicating copy to clipboard operation
node-orb copied to clipboard

install-yarn fails stating sudo command not found

Open aquacode opened this issue 1 year ago • 1 comments

Orb version:

5.2.0

What happened:

I'm using node-orb 5.2.0 on a CircleCI Windows image based on the Orb circleci/windows version 2.2.0

I'm using the following config:

manage-node-npm: description: "Install node and yarn". steps: - node/install: install-yarn: true. node-version: "14.18.0".

Expected behavior:

install-yarn should succeed but instead I see the following output:

Latest version of Yarn is 1.22.21 Checking if YARN is already installed... Installing YARN v1.22.21 bash: line 56: sudo: command not found bash: line 58: sudo: command not found bash: line 59: sudo: command not found bash: line 61: sudo: command not found bash: line 63: sudo: command not found bash: line 65: sudo: command not found bash: line 66: sudo: command not found bash: line 67: sudo: command not found bash: line 69: sudo: command not found bash: line 75: sudo: command not found bash: line 76: sudo: command not found Verifying YARN install bash: line 81: yarn: command not found Something went wrong; the specified version of Yarn could not be installed

Exited with code exit status 1

Additional Information:

This used to work and suddenly it isn't

aquacode avatar Feb 14 '24 12:02 aquacode