#18792: docs: add macOS source-run troubleshooting for setup/auth issues
docs
gateway
size: S
Cluster:
Build and Fix Enhancements
## Summary
Describe the problem and fix in 2–5 bullets:
- Problem:
- Why it matters:
- What changed:
- What did NOT change (scope boundary):
## Change Type (select all)
- [ ] Bug fix
- [ ] Feature
- [ ] Refactor
- [ ] Docs
- [ ] Security hardening
- [ ] Chore/infra
## Scope (select all touched areas)
- [ ] Gateway / orchestration
- [ ] Skills / tool execution
- [ ] Auth / tokens
- [ ] Memory / storage
- [ ] Integrations
- [ ] API / contracts
- [ ] UI / DX
- [ ] CI/CD / infra
## Linked Issue/PR
- Closes #
- Related #
## User-visible / Behavior Changes
List user-visible changes (including defaults/config).
If none, write `None`.
## Security Impact (required)
- New permissions/capabilities? (`Yes/No`)
- Secrets/tokens handling changed? (`Yes/No`)
- New/changed network calls? (`Yes/No`)
- Command/tool execution surface changed? (`Yes/No`)
- Data access scope changed? (`Yes/No`)
- If any `Yes`, explain risk + mitigation:
## Repro + Verification
### Environment
- OS:
- Runtime/container:
- Model/provider:
- Integration/channel (if any):
- Relevant config (redacted):
### Steps
1.
2.
3.
### Expected
-
### Actual
-
## Evidence
Attach at least one:
- [ ] Failing test/log before + passing after
- [ ] Trace/log snippets
- [ ] Screenshot/recording
- [ ] Perf numbers (if relevant)
## Human Verification (required)
What you personally verified (not just CI), and how:
- Verified scenarios:
- Edge cases checked:
- What you did **not** verify:
## Compatibility / Migration
- Backward compatible? (`Yes/No`)
- Config/env changes? (`Yes/No`)
- Migration needed? (`Yes/No`)
- If yes, exact upgrade steps:
## Failure Recovery (if this breaks)
- How to disable/revert this change quickly:
- Files/config to restore:
- Known bad symptoms reviewers should watch for:
## Risks and Mitigations
List only real risks for this PR. Add/remove entries as needed. If none, write `None`.
- Risk:
- Mitigation:
<!-- greptile_comment -->
<h3>Greptile Summary</h3>
Adds comprehensive macOS troubleshooting section for developers running OpenClaw from source, covering Node/pnpm setup issues and authentication errors. Includes diagnostic table mapping error signatures to root causes and fixes, plus a complete recovery sequence and browser localStorage cleanup steps.
<h3>Confidence Score: 5/5</h3>
- This PR is safe to merge with no risk
- Documentation-only changes that add helpful troubleshooting content without modifying any code or behavior. The pnpm version matches package.json, anchor links follow Mintlify conventions, and all formatting adheres to project guidelines.
- No files require special attention
<sub>Last reviewed commit: c69724b</sub>
<!-- greptile_other_comments_section -->
<sub>(2/5) Greptile learns from your feedback when you react with thumbs up/down!</sub>
<!-- /greptile_comment -->
Most Similar PRs
#20843: docs: add troubleshooting for A2UI bundling and missing node_modules
by yahiag04 · 2026-02-19
83.6%
#11048: fix: address repository issues (env, author, CI comments, security ...
by cavula · 2026-02-07
81.6%
#6235: fix: from source development command
by witcxc · 2026-02-01
78.6%
#21934: fix #21914 - Add the most obvious option to the error message
by vivganes · 2026-02-20
78.1%
#13864: fix(docs): update macOS VM installation instructions for clarity an...
by skmpf · 2026-02-11
78.1%
#10367: CLI/Ops: resilient browser fill + failover hardening + operations t...
by cluster2600 · 2026-02-06
77.9%
#11915: Docs: Docker + reverse proxy deployment notes and pairing pitfalls
by walshd1 · 2026-02-08
77.3%
#3534: Update ad-hoc signing instructions in dev setup
by yeasy · 2026-01-28
77.2%
#22764: docs: comprehensive cron system study for portability reference
by Ahsd-digital · 2026-02-21
76.7%
#8260: fix(macOS): gateway readiness detection + reversible Configure later
by xksteven · 2026-02-03
76.4%