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: wrong LTS version #370

Closed
borisyordanov opened this issue Oct 26, 2023 · 3 comments
Closed

Bug Report: wrong LTS version #370

borisyordanov opened this issue Oct 26, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@borisyordanov
Copy link

borisyordanov commented Oct 26, 2023

Note: We also welcome PRs to fix bugs! This helps us take action faster where a bug has been identified!

For our official CircleCI Docker Convenience Image support policy, please see CircleCI docs.

This policy outlines the release, update, and deprecation policy for CircleCI Docker Convenience Images.


Describe the bug
Incorrect Node version installed which causes conflicts with package engines

npm ERR! notsup Required: {"npm":">=10.0.0","node":">=20.9.0"}
npm ERR! notsup Actual:   {"npm":"9.8.1","node":"v18.18.0"}

To Reproduce
Create a job that uses an lts image

  deploy:
    resource_class: large
    docker:
      - image: cimg/node:lts 

Expected behavior
The image should contain the current LTS version of node - Node.js 20.9.0 and 10.1.0
https://nodejs.org/en
https://nodejs.org/en/download/releases#looking-for-latest-release-of-a-version-branch

Workarounds
None - The correct version can be hardcoded in the image with cimg/node:20.9.0, but this image is not available at https://github.com/CircleCI-Public/cimg-node/tree/main/20.9

Screenshots and Build Links

https://docs.npmjs.com/cli/v10/configuring-npm/package-json#engines

Additional context
The LTS version change announcement happened 2 days ago - https://nodejs.org/en/blog/release/v20.9.0

@borisyordanov borisyordanov added the bug Something isn't working label Oct 26, 2023
@borisyordanov borisyordanov changed the title Bug Report: <BUG> Bug Report: wrong LTS version Oct 26, 2023
@HugoDiFrancesco
Copy link

I found it interesting that the ALIASES file has the correct version

lts=20.9.0

I'm wondering if the CI/publish for this commit (0163b7d) didn't actually run correctly?

@HugoDiFrancesco
Copy link

HugoDiFrancesco commented Nov 6, 2023

One of my colleagues got in touch with CircleCI support and lts is now using Node 20, current is now using Node 21.

Possibly fixed by #371?

@JalexChen
Copy link

hey guys - thanks for bringing this up. Yes, #371 is intended to fix this as we stopped running the script. However, the lts and current tags should be referencing the correct versions now. Please reopen if you run into additional issues.

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

3 participants