Skip to content

Conversation

@piotrd
Copy link
Contributor

@piotrd piotrd commented Nov 12, 2025

Reordered one of the lines ("Actual:") of output of EBADENGINE error in order to align it with the previous like ("Required"). The output is now easier to comprehend.

Before the change (note 2 last lines):

$ npm i
npm error code EBADENGINE
npm error engine Unsupported engine
npm error engine Not compatible with your version of node/npm: undefined
npm error notsup Not compatible with your version of node/npm: undefined
npm error notsup Required: {"node":">=22.21.0 <23.0.0","npm":">=10.0.0"}
npm error notsup Actual:   {"npm":"10.8.2","node":"v20.19.5"}

After the change:

[…]
npm error notsup Required: {"node":">=22.21.0 <23.0.0","npm":">=10.0.0"}
npm error notsup Actual:   {"node":"v20.19.5","npm":"10.8.2"}

References

piotrd and others added 2 commits November 12, 2025 18:12
Before the change (note 2 last lines):

```sh
$ npm i
npm error code EBADENGINE
npm error engine Unsupported engine
npm error engine Not compatible with your version of node/npm: undefined
npm error notsup Not compatible with your version of node/npm: undefined
npm error notsup Required: {"node":">=22.21.0 <23.0.0","npm":">=10.0.0"}
npm error notsup Actual:   {"npm":"10.8.2","node":"v20.19.5"}
```

After the change:

```sh
[…]
npm error notsup Required: {"node":">=22.21.0 <23.0.0","npm":">=10.0.0"}
npm error notsup Actual:   {"node":"v20.19.5","npm":"10.8.2"}
```
@piotrd piotrd marked this pull request as ready for review November 12, 2025 17:38
@piotrd piotrd requested a review from a team as a code owner November 12, 2025 17:38
@wraithgar wraithgar merged commit cbc6fa9 into npm:latest Nov 13, 2025
21 checks passed
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 this pull request may close these issues.

3 participants