-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Engine syntax incorrect #1660
Comments
(Side note: I am unreasonablly annoyed that the PR for issue 1660 is numbered 1661...) |
This is still an issue. $ npm install superagent up to date, audited 38 packages in 2s 9 packages are looking for funding found 0 vulnerabilities |
What might be a valid fix? Not too experienced with engines property.
…On Friday, January 7, 2022, Nitish Bezzala ***@***.***> wrote:
This is still an issue.
$ npm install superagent
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: ***@***.***',
npm WARN EBADENGINE required: { node: '>=6.4.0 !13' },
npm WARN EBADENGINE current: { node: 'v17.3.0', npm: '8.3.0' }
npm WARN EBADENGINE }
up to date, audited 38 packages in 2s
9 packages are looking for funding
run npm fund for details
found 0 vulnerabilities
—
Reply to this email directly, view it on GitHub
<#1660 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAD7XBID3LYVFLGK4BUGK2LUU6GHTANCNFSM5LOQKERA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you modified the open/close state.Message
ID: ***@***.***>
|
Looking at the Semver spec I don't think there actually is a It looks like the correct solution is the one I original gave or the symantically equivelent PR by @nbezzala above. Both of which might cause you Eslint issues. |
Also running Eslint seems to suggest that the earliest supported node that will work is Removing the catch binding would lower the supported Nodejs to v8.13.0 as http2 was backported |
To express "v6.4.0 or newer, excluding v13" you want e.g. |
`!` is not supported by the semver library. This fixes a regression in v7 when used with engine-strict mode. While the change in this PR may look similar to the state before ladjs#1660, it differs by using two pipe characters instead of one.
+1 |
v7.0.2 released https://github.com/visionmedia/superagent/releases/tag/v7.0.2 I had to publish with |
I cannot install the latest v7 on node 16 at the moment. NPM is complaining about incompatible version:
I believe the issue is the syntax used in the engines block in the package.json
I think instead of:
it should be:
The text was updated successfully, but these errors were encountered: