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

Bug Report: Last node LTS is 22, unable to work with #186

Open
benoittgt opened this issue Nov 12, 2024 · 1 comment
Open

Bug Report: Last node LTS is 22, unable to work with #186

benoittgt opened this issue Nov 12, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@benoittgt
Copy link

Describe the bug
At the moment the last Node LTS is 22.11.0, but we install version 20.

I tried to use the orb but it failed because of yarn version mismatch:

Latest version of Yarn is 1.22.22
Checking if YARN is already installed...
A different version of Yarn is installed (1.22.19); removing it
^@^@rm: cannot remove '/usr/local/bin/yarn': Permission denied

Exited with code exit status 1

To Reproduce

version: 2.1

orbs:
  ruby: circleci/ruby@2
  node: circleci/node@6

jobs:
  build:
    docker:
      - image: cimg/ruby:3.3.5-browsers
    steps:
      - checkout
      - node/install:
          install-yarn: true

workflows:
  version: 2
  main:
    jobs:
      - build

In my .nvmrc 22.11.0.

Expected behavior

I am able to use Node 22.

Workarounds

Use my own Ruby image.

@benoittgt benoittgt added the bug Something isn't working label Nov 12, 2024
@benoittgt benoittgt changed the title Bug Report: Last node LTS is 22 Bug Report: Last node LTS is 22, unable to work with Nov 12, 2024
@benoittgt
Copy link
Author

I think we will simply have to wait for this CircleCI-Public/cimg-node#432 then wait for a new image from the cimg-ruby.

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