AnchorGitv0.1.3
|
⚓ Resources

Troubleshooting & Common Fixes

Solutions for common CLI permissions, Git hook conflicts, and workstation key pairing errors.

EACCES: permission denied, open ~/.anchor/config.json

Fix file ownership permissions on your local workstation configuration folder:

$ sudo chown -R $(whoami) ~/.anchor && chmod 600 ~/.anchor/config.json

AnchorGit: Git repository not detected

Ensure you are executing anchor inside an active Git repository directory, or initialize Git first:

$ git init && anchor pair

💻 Terminal Output

Verifying CLI HealthTerminal
$anchor doctor
⚓ Running System Diagnostics...
✔ Node.js Runtime: v20.11.0
✔ Local Git Binary: /usr/bin/git (2.43.0)
✔ Local Ledger:     ~/.anchor/ledger.json (Valid)
✔ Permissions:      ~/.anchor/config.json (Writable)
All systems operational!