-
Notifications
You must be signed in to change notification settings - Fork 77
Closed
Labels
Description
Hi! After running npm-check-updates to update my project dependencies, I ran into a dependency resolution error related to @nuxt/eslint.
Reproduction
Steps to reproduce
- Install ESLint 10 in a Nuxt project using
@nuxt/eslint - Run
npm install - Observe the ERESOLVE error.
Describe the bug
It looks like @nuxt/eslint@1.14.0 declares a peer dependency of:
"eslint": "^9.0.0"…but ESLint has now released version 10, and the peer range does not allow it. This prevents upgrading ESLint in Nuxt projects.
…assuming there are no breaking changes that affect the module.
Actual behavior
npm refuses to install because the peer dependency is too restrictive.
Environment
- ESLint: 10.0.0
- Node/npm: v25.1.0 / v11.7.0
Package
@nuxt/eslint: 1.14.0
Logs
When installing, npm fails with the following message:
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! Found: eslint@10.0.0
npm ERR! node_modules/eslint
npm ERR! dev eslint@"^10.0.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@"^9.0.0" from @nuxt/eslint@1.14.0
npm ERR! node_modules/@nuxt/eslint
npm ERR! dev @nuxt/eslint@"^1.14.0" from the root projectReactions are currently unavailable