Skip to content

Improve Node.js version error message#10

Open
gaurav-manchandaa wants to merge 1 commit intoProductionLineHQ:mainfrom
gaurav-manchandaa:improve-node-error-message
Open

Improve Node.js version error message#10
gaurav-manchandaa wants to merge 1 commit intoProductionLineHQ:mainfrom
gaurav-manchandaa:improve-node-error-message

Conversation

@gaurav-manchandaa
Copy link
Copy Markdown

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

Copy link
Copy Markdown

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Welcome to Cortex! Thanks for your first pull request.

Here's what happens next:

  1. CI will run tests, linting, and type checks automatically
  2. A maintainer will review your changes
  3. We may suggest some modifications or improvements
  4. 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.

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.

Improve error message when Node.js < 18 is detected

1 participant