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

Update project to use supported Node version #7600

Open
michaelstalker opened this issue Nov 24, 2024 · 0 comments
Open

Update project to use supported Node version #7600

michaelstalker opened this issue Nov 24, 2024 · 0 comments

Comments

@michaelstalker
Copy link

Summary

The project's package.json file specifies a Node version of >=16.14.0 and <16.15. However, Node 16.x reached its end of life in September, 2023. I suggest updating the project to use one of the LTS versions (18, 20, or 22).

Motivation

Updating the Node version will help avoid security vulnerabilities that may be present in an unsupported Node version.

Specifications (If applicable)

N/A

Additional context

I get some errors installing dependencies with Node 20 and 22, the most recent LTS releases.

Installing dependencies with npm ci with Node 22.11.0 gives me this error:

ERESOLVE could not resolve

If I use npm ci --legacy-peer-deps, I get a different error:

npm error code EBADENGINE
npm error engine Unsupported engine
npm error engine Not compatible with your version of node/npm: tc-source-content-updater@1.4.29
npm error notsup Not compatible with your version of node/npm: tc-source-content-updater@1.4.29
npm error notsup Required: {"node":">=16.14 <16.21"}
npm error notsup Actual:   {"npm":"10.9.0","node":"v22.11.0"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant