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

Unknown package installing eslint-plugin-jest #1378

Closed
thechosenginger opened this issue May 31, 2023 · 2 comments
Closed

Unknown package installing eslint-plugin-jest #1378

thechosenginger opened this issue May 31, 2023 · 2 comments
Labels

Comments

@thechosenginger
Copy link

While downgrading a project from node v20 to 17.6.0 and npm to 8.5.1, came across an unsupported engine error with eslint-plugin-jest@27.2.1. I am not directly installing this package and have not been able to figure out where it is coming from. I have tried to remove both my package-lock and node_modules files and have also tried to add a downgraded version of the plugin to the package lock, but cannot get it to progress past an npm install.

I am not looking to downgrade node any further as I would have to deal with issues in other packages, but i feel that is my only choice to move forward.

npm ERR! code EBADENGINE
npm ERR! engine Unsupported engine
npm ERR! engine Not compatible with your version of node/npm: eslint-plugin-jest@27.2.1
npm ERR! notsup Not compatible with your version of node/npm: eslint-plugin-jest@27.2.1
npm ERR! notsup Required: {"node":"^14.15.0 || ^16.10.0 || >=18.0.0"}
npm ERR! notsup Actual: {"npm":"8.5.1","node":"v17.6.0"}

@G-Rath
Copy link
Collaborator

G-Rath commented May 31, 2023

You must have a dependency that is pulling in eslint-plugin-jest - you can find out what by running npm ls eslint-plugin-jest.

@SimenB
Copy link
Member

SimenB commented May 31, 2023

Not an issue with this plugin

@SimenB SimenB closed this as not planned Won't fix, can't repro, duplicate, stale May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants