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

fix: warn about node version mismatch #1198

Merged
merged 1 commit into from
Sep 23, 2024

Conversation

mdonnalley
Copy link
Contributor

@mdonnalley mdonnalley commented Sep 20, 2024

Emit process warning when oclif/core's node engine property is not satisfied

❯ sf version
(node:16992) Warning: Node version must be >=22.0.0 to use this CLI. Current node version: 20.13.1
(Use `node --trace-warnings ...` to show where the warning was created)
@salesforce/cli/2.60.8 darwin-arm64 node-v20.13.1

@W-16795546@
Fixes #1197

@cristiand391 cristiand391 merged commit ae2ceac into main Sep 23, 2024
86 checks passed
@cristiand391 cristiand391 deleted the mdonnalley/node-engine-warning branch September 23, 2024 22:09
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.

Stop oclif-CLI with an error when node version is not supported
2 participants