Skip to content

Add CLI troubleshooting for npx version resolution#5457

Open
mintlify[bot] wants to merge 1 commit intomainfrom
mintlify/cli-npx-troubleshooting-1776721079
Open

Add CLI troubleshooting for npx version resolution#5457
mintlify[bot] wants to merge 1 commit intomainfrom
mintlify/cli-npx-troubleshooting-1776721079

Conversation

@mintlify
Copy link
Copy Markdown
Contributor

@mintlify mintlify Bot commented Apr 20, 2026

Summary

  • Adds a troubleshooting entry to the CLI install page for a bug where running CLI commands via npx could cause the CLI to incorrectly connect to localhost instead of the production API.
  • The fix shipped in CLI version 4.0.1125. The troubleshooting entry helps users on older versions identify and resolve the issue.

Triggered by mintlify/mint@9af367ee, which includes a fix for CLI version resolution when invoked via npx.


Note

Low Risk
Low risk documentation-only change; no runtime or API behavior is modified.

Overview
Adds a new troubleshooting accordion to cli/install.mdx documenting a pre-4.0.1125 bug where running mint via npx could make the CLI target localhost instead of the production API, and instructs users to update to mint@latest.

Reviewed by Cursor Bugbot for commit ab4a274. Bugbot is set up for automated code reviews on this repo. Configure here.

@mintlify
Copy link
Copy Markdown
Contributor Author

mintlify Bot commented Apr 20, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
mintlify 🟢 Ready View Preview Apr 20, 2026, 9:41 PM

@mintlify-development
Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
userauth 🟡 Building Apr 20, 2026, 9:39 PM

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.

0 participants