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

error eslint@9.0.0: "node" 20.8.0 is incompatible with this module #18288

Closed
1 task
cope opened this issue Apr 8, 2024 · 1 comment
Closed
1 task

error eslint@9.0.0: "node" 20.8.0 is incompatible with this module #18288

cope opened this issue Apr 8, 2024 · 1 comment
Labels
question This issue asks a question about ESLint

Comments

@cope
Copy link

cope commented Apr 8, 2024

Environment

Node version: 20.8.0
npm version: 10.1.0
Local ESLint version: 8.57.0
Global ESLint version: -
Operating System: Windows 10

What parser are you using?

Default (Espree)

What did you do?

yarn latest

error eslint@9.0.0: The engine "node" is incompatible with this module. Expected version "^18.18.0 || ^20.9.0 || >=21.1.0". Got "20.8.0"

What did you expect to happen?

I expected eslint to upgrade to v9

What actually happened?

error eslint@9.0.0: The engine "node" is incompatible with this module. Expected version "^18.18.0 || ^20.9.0 || >=21.1.0". Got "20.8.0"

Link to Minimal Reproducible Example

n/a

Participation

  • I am willing to submit a pull request for this issue.

Additional comments

No response

@cope cope added bug ESLint is working incorrectly repro:needed labels Apr 8, 2024
@Pewtro
Copy link

Pewtro commented Apr 8, 2024

That is working as intended. v9 requires 20.9 or newer for node v20.x, as per #17595 and #17725. Note that latest LTS version of node is 20.12.1.

@aladdin-add aladdin-add added question This issue asks a question about ESLint and removed bug ESLint is working incorrectly repro:needed labels Apr 8, 2024
@aladdin-add aladdin-add closed this as not planned Won't fix, can't repro, duplicate, stale Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question This issue asks a question about ESLint
Projects
Archived in project
Development

No branches or pull requests

3 participants