Improve Node.js version error message#10
Open
gaurav-manchandaa wants to merge 1 commit intoProductionLineHQ:mainfrom
Open
Improve Node.js version error message#10gaurav-manchandaa wants to merge 1 commit intoProductionLineHQ:mainfrom
gaurav-manchandaa wants to merge 1 commit intoProductionLineHQ:mainfrom
Conversation
There was a problem hiding this comment.
Welcome to Cortex! Thanks for your first pull request.
Here's what happens next:
- CI will run tests, linting, and type checks automatically
- A maintainer will review your changes
- We may suggest some modifications or improvements
- Once approved, we'll merge it in
Checklist reminder:
- Tests pass (
pnpm test) - Lint passes (
pnpm lint) - Types check (
pnpm typecheck)
Thanks for helping make Cortex better! Every contribution matters.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Improves the Node.js version error message shown in the CLI by providing clearer guidance for users when an unsupported Node.js version is detected.
Closes #6
Why?
The previous error message was not very descriptive and could confuse users.
This update makes the message more actionable and helps users quickly resolve the issue.
How to test it
1. Use an unsupported Node.js version.
2. Run the CLI.
3. Verify that the improved error message is displayed.
Screenshots / recordings
N/A (CLI text improvement only)
Checklist
• Tests pass
• Types pass
• Follows project coding standards