You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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"}
The text was updated successfully, but these errors were encountered:
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:If I use
npm ci --legacy-peer-deps
, I get a different error:The text was updated successfully, but these errors were encountered: