Skip to content

Conversation

@kanadgupta
Copy link
Member

🚥 Resolves #1331

🧰 Changes

as first discovered in #1331, @oclif/core uses its own node engine requirements and emits a warning if its node version requirements aren't met:

they require v18 or later but we require v20 or later, so the warning looks like this (which is wrong):

(node:4619) Warning: Node version must be >=18.0.0 to use this CLI. Current node version: 14.20.0

due to this being misleading, we're going to disable this warning entirely. i don't think we need to emit warnings for mismatched versions of node.js (since the warning is already emitted when users install this CLI via npm) but i'm open to reevaluating that.

🧬 QA & Testing

confirmed that using a version of node.js less than 18 no longer emits this warning.

@kanadgupta kanadgupta added the bug Something isn't working label Aug 28, 2025
@kanadgupta kanadgupta added the needs-backport-to-v9 PRs that need to backported to the 9.x channel label Aug 28, 2025
@kanadgupta kanadgupta marked this pull request as ready for review August 28, 2025 02:34
Copy link
Member

@erunion erunion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

insane that they do this

@kanadgupta kanadgupta merged commit f731713 into next Aug 28, 2025
9 checks passed
@kanadgupta kanadgupta deleted the kanad-2025-08-27/disable-engine-warning branch August 28, 2025 02:35
kanadgupta pushed a commit that referenced this pull request Aug 28, 2025
## [10.5.1-next.1](v10.5.0...v10.5.1-next.1) (2025-08-28)

### Bug Fixes

* **oclif:** disable engine warning ([#1333](#1333)) ([f731713](f731713))

[skip ci]
@kanadgupta
Copy link
Member Author

🎉 This PR is included in version 10.5.1-next.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

kanadgupta pushed a commit that referenced this pull request Sep 8, 2025
## [10.5.1](v10.5.0...v10.5.1) (2025-09-08)

### Bug Fixes

* **oclif:** disable engine warning ([#1333](#1333)) ([f731713](f731713))
* **openapi/upload:** unhide `--confirm-overwrite` ([#1332](#1332)) ([5f4abb4](5f4abb4))

[skip ci]
@kanadgupta
Copy link
Member Author

🎉 This PR is included in version 10.5.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working needs-backport-to-v9 PRs that need to backported to the 9.x channel released on @next released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Required Node version is wrong

3 participants