docs: add common installation troubleshooting entries#378
docs: add common installation troubleshooting entries#378miyoungc merged 3 commits intoNVIDIA:mainfrom
Conversation
Add four new entries to the Installation section of the troubleshooting guide covering issues frequently reported by new users: - Node.js version below 20 (with nvm fix) - Docker daemon not running (Linux + macOS Docker Desktop) - npm EACCES permission errors (npm-global prefix workaround) - Port 18789 already in use (lsof/kill steps) Also add a Troubleshooting link at the end of the quickstart guide so users who hit problems during onboarding can find the guide immediately. Closes NVIDIA#364 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
📝 WalkthroughWalkthroughAdded troubleshooting guidance: quickstart now links to a Troubleshooting reference and Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Nitpick comments (1)
docs/reference/troubleshooting.md (1)
45-47: Normalize command-block style to satisfy markdownlint MD014.The new command blocks use
$prompts without output, which may keep lint warnings active. Consider removing the prompt markers for consistency with strict markdownlint setups.Also applies to: 52-55, 64-66, 75-79, 89-92
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@docs/reference/troubleshooting.md` around lines 45 - 47, Several fenced command blocks use a leading "$" prompt (e.g., the block containing "$ node --version") which triggers markdownlint MD014; update those blocks by removing the "$" prompt so they contain bare commands (e.g., "node --version") or add corresponding command output lines, and apply the same change to the other occurrences noted (blocks around lines 52-55, 64-66, 75-79, 89-92) to normalize command-block style and satisfy markdownlint.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@docs/reference/troubleshooting.md`:
- Around line 89-92: Replace the abrupt "kill <PID>" instruction in the
troubleshooting snippet with a safer, more beginner-friendly step: recommend
sending a graceful SIGTERM (kill -15 <PID>) first and add a one-line guidance to
verify the PID belongs to the conflicting process (e.g., check the process
command/owner) before terminating; update the snippet around the lsof -i :18789
line and include the confirmatory sentence immediately after the kill
instruction.
---
Nitpick comments:
In `@docs/reference/troubleshooting.md`:
- Around line 45-47: Several fenced command blocks use a leading "$" prompt
(e.g., the block containing "$ node --version") which triggers markdownlint
MD014; update those blocks by removing the "$" prompt so they contain bare
commands (e.g., "node --version") or add corresponding command output lines, and
apply the same change to the other occurrences noted (blocks around lines 52-55,
64-66, 75-79, 89-92) to normalize command-block style and satisfy markdownlint.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 827ec814-6764-48d9-9f99-0ff1a1b42ba9
📒 Files selected for processing (2)
docs/get-started/quickstart.mddocs/reference/troubleshooting.md
Add a note to verify the process before terminating it, and mention kill -9 as a fallback for processes that do not exit gracefully. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
There was a problem hiding this comment.
Actionable comments posted: 1
♻️ Duplicate comments (1)
docs/reference/troubleshooting.md (1)
87-94:⚠️ Potential issue | 🟡 MinorPrefer graceful termination first for port-conflict resolution.
Line 91 still defaults to
kill <PID>. For beginner safety, usekill -15 <PID>first, then keepkill -9only as fallback.Suggested doc patch
Identify the conflicting process, verify it is safe to stop, and terminate it: ```console $ lsof -i :18789 -$ kill <PID> +$ kill -15 <PID>If the process does not exit, use
kill -9 <PID>to force-terminate it.</details> <details> <summary>🤖 Prompt for AI Agents</summary>Verify each finding against the current code and only fix it if needed.
In
@docs/reference/troubleshooting.mdaround lines 87 - 94, Update the
port-conflict termination example to recommend a graceful SIGTERM before a
forceful kill: replace the immediate "kill " example following "lsof -i
:18789" with "kill -15 " (SIGTERM) and retain "kill -9 " only as the
fallback if the process does not exit; ensure the doc text around the commands
reflects this order (the snippet containing "lsof -i :18789", "kill "
should be changed to use "kill -15 " instead).</details> </blockquote></details> </blockquote></details> <details> <summary>🧹 Nitpick comments (1)</summary><blockquote> <details> <summary>docs/reference/troubleshooting.md (1)</summary><blockquote> `25-25`: **Consider adding a network/proxy/firewall install subsection to fully meet issue scope.** Issue `#364` objectives include surfacing network/proxy/firewall guidance; Installation currently covers four cases but not that one. I can draft a concise subsection with proxy env vars, firewall checks, and connectivity diagnostics if helpful. <details> <summary>🤖 Prompt for AI Agents</summary>Verify each finding against the current code and only fix it if needed.
In
@docs/reference/troubleshooting.mdat line 25, Add a new "Network / Proxy /
Firewall" subsection under the existing "Installation" header that addresses
Issue#364by listing required proxy environment variables (e.g., HTTP_PROXY,
HTTPS_PROXY, NO_PROXY), common firewall/port checks and commands to verify them,
and basic connectivity diagnostics (curl/wget tests, DNS resolution, and
traceroute) with concise examples and remediation steps; ensure the subsection
follows the same tone and formatting as the other Installation cases and links
back to the main troubleshooting section.</details> </blockquote></details> </blockquote></details> <details> <summary>🤖 Prompt for all review comments with AI agents</summary>Verify each finding against the current code and only fix it if needed.
Inline comments:
In@docs/reference/troubleshooting.md:... ).
- Line 46: The code fence commands like "$ node --version" (and the other
$-prefixed command lines around 53-54, 65, 76-78, 90-91) are triggering
markdownlint MD014; fix by either removing the leading "$ " from those inline
command lines or by disabling MD014 for this document (add a top-of-file HTML
comment like or wrap only those blocks withUpdate the occurrences of the strings starting with "$ " (e.g., "$ node
--version") to one of these two options consistently across the listed blocks.
Duplicate comments:
In@docs/reference/troubleshooting.md:
- Around line 87-94: Update the port-conflict termination example to recommend a
graceful SIGTERM before a forceful kill: replace the immediate "kill "
example following "lsof -i :18789" with "kill -15 " (SIGTERM) and retain
"kill -9 " only as the fallback if the process does not exit; ensure the
doc text around the commands reflects this order (the snippet containing "lsof
-i :18789", "kill " should be changed to use "kill -15 " instead).
Nitpick comments:
In@docs/reference/troubleshooting.md:
- Line 25: Add a new "Network / Proxy / Firewall" subsection under the existing
"Installation" header that addresses Issue#364by listing required proxy
environment variables (e.g., HTTP_PROXY, HTTPS_PROXY, NO_PROXY), common
firewall/port checks and commands to verify them, and basic connectivity
diagnostics (curl/wget tests, DNS resolution, and traceroute) with concise
examples and remediation steps; ensure the subsection follows the same tone and
formatting as the other Installation cases and links back to the main
troubleshooting section.</details> --- <details> <summary>ℹ️ Review info</summary> <details> <summary>⚙️ Run configuration</summary> **Configuration used**: Path: .coderabbit.yaml **Review profile**: CHILL **Plan**: Pro **Run ID**: `a185d9e0-ed13-481c-a5e3-918a9388aa44` </details> <details> <summary>📥 Commits</summary> Reviewing files that changed from the base of the PR and between b93b9fc3b82fe596dd92e5bb166d0fbe19c661f2 and 29c275929654e7967bb13bb7880d55fbbb7d079a. </details> <details> <summary>📒 Files selected for processing (1)</summary> * `docs/reference/troubleshooting.md` </details> </details> <!-- This is an auto-generated comment by CodeRabbit for review status -->
The entire file uses $ prompts in console blocks without output, which is the established style for this doc. Disable MD014 at the file level to suppress linting warnings consistently. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
docs/reference/troubleshooting.md (1)
27-98:⚠️ Potential issue | 🟡 MinorInstallation troubleshooting still misses proxy/firewall diagnostics from the linked objective.
The new Installation section is useful, but it still doesn’t add a concrete network/proxy/firewall failure entry (checks + remediation), which was explicitly called out in Issue
#364objectives.If helpful, I can draft a compact subsection with common symptoms (
ETIMEDOUT,ECONNRESET, TLS/proxy errors), quick diagnostics, and proxy env var examples.🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@docs/reference/troubleshooting.md` around lines 27 - 98, Add a compact "Network / proxy / firewall" subsection under the Installation heading that addresses common connectivity failures (ETIMEDOUT, ECONNRESET, TLS/proxy errors) and provides concrete diagnostics and remediation: list quick checks (curl/openssl to target endpoints, traceroute, check Docker network, verify port 18789), show how to inspect and set HTTP_PROXY/HTTPS_PROXY/NO_PROXY env vars and npm proxy config, and include firewall steps (ufw/systemctl rules and how to open/allow the gateway port) plus brief example commands and expected outcomes; update the Installation doc (near the "Port already in use" and Node.js/docker checks) to include these checks so readers can diagnose and fix network/proxy/firewall issues referenced by Issue `#364`.
♻️ Duplicate comments (1)
docs/reference/troubleshooting.md (1)
91-97:⚠️ Potential issue | 🟡 MinorUse graceful termination first in the port-conflict example.
At Line 93, prefer
kill -15 <PID>before escalating tokill -9, to reduce accidental disruption for beginners.Suggested doc tweak
```console $ lsof -i :18789 -$ kill <PID> +$ kill -15 <PID>If the process does not exit, use
kill -9 <PID>to force-terminate it.</details> <details> <summary>🤖 Prompt for AI Agents</summary>Verify each finding against the current code and only fix it if needed.
In
@docs/reference/troubleshooting.mdaround lines 91 - 97, Update the
port-conflict troubleshooting example to suggest a graceful termination first:
replace the plain "kill " invocation with "kill -15 " (SIGTERM) in the
example block, and keep the existing fallback sentence that recommends "kill -9
" only if the process does not exit; this targets the example command shown
in the docs reference/troubleshooting.md snippet.</details> </blockquote></details> </blockquote></details> <details> <summary>🤖 Prompt for all review comments with AI agents</summary>Verify each finding against the current code and only fix it if needed.
Outside diff comments:
In@docs/reference/troubleshooting.md:
- Around line 27-98: Add a compact "Network / proxy / firewall" subsection under
the Installation heading that addresses common connectivity failures (ETIMEDOUT,
ECONNRESET, TLS/proxy errors) and provides concrete diagnostics and remediation:
list quick checks (curl/openssl to target endpoints, traceroute, check Docker
network, verify port 18789), show how to inspect and set
HTTP_PROXY/HTTPS_PROXY/NO_PROXY env vars and npm proxy config, and include
firewall steps (ufw/systemctl rules and how to open/allow the gateway port) plus
brief example commands and expected outcomes; update the Installation doc (near
the "Port already in use" and Node.js/docker checks) to include these checks so
readers can diagnose and fix network/proxy/firewall issues referenced by Issue
#364.
Duplicate comments:
In@docs/reference/troubleshooting.md:
- Around line 91-97: Update the port-conflict troubleshooting example to suggest
a graceful termination first: replace the plain "kill " invocation with
"kill -15 " (SIGTERM) in the example block, and keep the existing fallback
sentence that recommends "kill -9 " only if the process does not exit; this
targets the example command shown in the docs reference/troubleshooting.md
snippet.</details> --- <details> <summary>ℹ️ Review info</summary> <details> <summary>⚙️ Run configuration</summary> **Configuration used**: Path: .coderabbit.yaml **Review profile**: CHILL **Plan**: Pro **Run ID**: `40ad9eca-5283-47c0-8a5c-e140dcbe39e5` </details> <details> <summary>📥 Commits</summary> Reviewing files that changed from the base of the PR and between 29c275929654e7967bb13bb7880d55fbbb7d079a and ac054fd50a954741e316f7c4111fddaf24939a49. </details> <details> <summary>📒 Files selected for processing (1)</summary> * `docs/reference/troubleshooting.md` </details> </details> <!-- This is an auto-generated comment by CodeRabbit for review status -->
* docs: add common installation troubleshooting entries Add four new entries to the Installation section of the troubleshooting guide covering issues frequently reported by new users: - Node.js version below 20 (with nvm fix) - Docker daemon not running (Linux + macOS Docker Desktop) - npm EACCES permission errors (npm-global prefix workaround) - Port 18789 already in use (lsof/kill steps) Also add a Troubleshooting link at the end of the quickstart guide so users who hit problems during onboarding can find the guide immediately. Closes NVIDIA#364 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * docs: improve port-conflict troubleshooting step Add a note to verify the process before terminating it, and mention kill -9 as a fallback for processes that do not exit gracefully. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * docs: disable MD014 for troubleshooting doc The entire file uses $ prompts in console blocks without output, which is the established style for this doc. Disable MD014 at the file level to suppress linting warnings consistently. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
* docs: add common installation troubleshooting entries Add four new entries to the Installation section of the troubleshooting guide covering issues frequently reported by new users: - Node.js version below 20 (with nvm fix) - Docker daemon not running (Linux + macOS Docker Desktop) - npm EACCES permission errors (npm-global prefix workaround) - Port 18789 already in use (lsof/kill steps) Also add a Troubleshooting link at the end of the quickstart guide so users who hit problems during onboarding can find the guide immediately. Closes NVIDIA#364 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * docs: improve port-conflict troubleshooting step Add a note to verify the process before terminating it, and mention kill -9 as a fallback for processes that do not exit gracefully. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * docs: disable MD014 for troubleshooting doc The entire file uses $ prompts in console blocks without output, which is the established style for this doc. Disable MD014 at the file level to suppress linting warnings consistently. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Summary
Closes #364
Adds four new entries to the Installation section of
docs/reference/troubleshooting.md, covering the most common failures new users encounter beforenemoclaw onboardeven runs:systemctl start dockeron Linux, Docker Desktop on macOSlsofAlso adds a Troubleshooting link at the end of
docs/get-started/quickstart.mdso users who hit problems during installation can find the guide immediately.Test plan
🤖 Generated with Claude Code
Summary by CodeRabbit