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

Unable to install 7.0.1 version on 16.12.0 Node #1665

Closed
brainroma opened this issue Jan 11, 2022 · 8 comments · Fixed by #1666
Closed

Unable to install 7.0.1 version on 16.12.0 Node #1665

brainroma opened this issue Jan 11, 2022 · 8 comments · Fixed by #1666

Comments

@brainroma
Copy link

Still getting the error when trying to install 7.0.1 version on v16 Node

npm ERR! code EBADENGINE
npm ERR! engine Unsupported engine
npm ERR! engine Not compatible with your version of node/npm: [email protected]
npm ERR! notsup Not compatible with your version of node/npm: [email protected]
npm ERR! notsup Required: {"node":">=6.4.0 !13"}
npm ERR! notsup Actual: {"npm":"8.3.0","node":"v16.12.0"}

@korbav
Copy link

korbav commented Jan 11, 2022

ladjs/supertest#752 (comment)

Please replace >=6.4.0 !13 by 6.4.0 - 12 || >= 14

@SergioSuarezDev
Copy link

SergioSuarezDev commented Jan 11, 2022

same here

npm ERR! code EBADENGINE
npm ERR! engine Unsupported engine
npm ERR! engine Not compatible with your version of node/npm: superagent@7.0.1
npm ERR! notsup Not compatible with your version of node/npm: superagent@7.0.1
npm ERR! notsup Required: {"node":">=6.4.0 !13"}
npm ERR! notsup Actual:   {"npm":"8.3.0","node":"v14.18.1"}

My node v: v14.18.1
My npm v: 8.3.0

@visoft
Copy link

visoft commented Jan 11, 2022

No error, but a warning

npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '>=6.4.0 !13' },
npm WARN EBADENGINE   current: { node: 'v16.13.1', npm: '8.1.2' }
npm WARN EBADENGINE }

@ekmobile
Copy link

For me it's an error:

npm i --save-dev supertest

npm ERR! code ENOTSUP
npm ERR! notsup Unsupported engine for [email protected]: wanted: {"node":">=6.4.0 !13"} (current: {"node":"14.18.2","npm":"6.14.15"})
npm ERR! notsup Not compatible with your version of node/npm: [email protected]
npm ERR! notsup Not compatible with your version of node/npm: [email protected]
npm ERR! notsup Required: {"node":">=6.4.0 !13"}
npm ERR! notsup Actual: {"npm":"6.14.15","node":"14.18.2"}

@Morl99
Copy link

Morl99 commented Jan 11, 2022

The error appears, if npm is configured to use engine-strict, which is not a bad idea, so this needs to be fixed, because it breaks all pipelines that have engine-strict enabled.

@SergioSuarezDev
Copy link

In my case the error comes from the nestjs framework that uses superset
https://github.com/nestjs/nest/blob/master/package.json

@glasser
Copy link
Contributor

glasser commented Jan 11, 2022

I've filed #1666 to fix this issue. (It is more correct than #1663 which fails to exclude v13.)

@niftylettuce
Copy link
Collaborator

v7.0.2 released https://github.com/visionmedia/superagent/releases/tag/v7.0.2

I had to publish with np --no-tests because of yarn test lint errors with eslint not parsing engines properly per mysticatea/eslint-plugin-node#315.

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

Successfully merging a pull request may close this issue.

8 participants