| title | DSH Plugin Installation Troubleshooting — Common Failures and Fixes | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| domain | tooling | ||||||||
| tags |
|
||||||||
| status | draft | ||||||||
| created | 2026-09-02 | ||||||||
| language | en | ||||||||
| source | issue-1421 | ||||||||
| evidence_level | E1 |
Users installing the MisakaNet DSH plugin encounter a variety of failures across npm, git, and manual installation methods. This lesson consolidates the most common issues and their fixes into a single reference.
Symptom: dsh plugin add misakanet hangs or times out.
Cause: Corporate firewall or proxy blocks registry.npmjs.org. Alternatively, npm cache is corrupted.
Fix:
# Check registry connectivity
curl -sS -o /dev/null -w "%{http_code}\n" https://registry.npmjs.org/
# Clear npm cache and retry
npm cache clean --force
dsh plugin add misakanet
# Or set proxy
npm config set proxy http://proxy:8080
npm config set https-proxy http://proxy:8080Symptom: dsh plugin add github:Ikalus1988/MisakaNet fails with request timeout: cannot reach GitHub.
Cause: codeload.github.com is blocked or slow in some networks (especially CN/GFW).
Fix: Use the npm channel instead (see dsh-plugin-install-github-codeload-timeout.md):
dsh plugin add misakanet # from npm registrySymptom: EACCES: permission denied, mkdir '~/.dsh/skills'
Cause: The ~/.dsh directory was created by root or a different user.
Fix:
# Option A: Fix ownership
sudo chown -R $(whoami) ~/.dsh
# Option B: Use user-level install
dsh plugin add misakanet --userSymptom: dsh plugin list shows no misakanet plugin after successful install.
Cause: Shell session not refreshed, or ~/.dsh/skills not in PATH.
Fix:
# Restart terminal, then:
source ~/.bashrc # or ~/.zshrc
dsh plugin list
# Or manually verify
ls -la ~/.dsh/skills/misakanetSymptom: Plugin install or runtime fails with python3: command not found.
Cause: Windows ships python not python3.
Fix:
# Use python instead of python3
python --version
# Or set environment variable
set PYTHON=pythonSymptom: Plugin requires dsh >= 1.0.0, found 0.x.x
Fix:
npm update -g dsh
dsh plugin remove misakanet
dsh plugin add misakanetSymptom: Skill not discovered after manual cp -r.
Cause: Copied to wrong path. Must be ~/.dsh/skills/misakanet/, not ~/.dsh/skills/ directly.
Fix:
# Verify directory structure
ls ~/.dsh/skills/misakanet/skill.yml # must exist
ls ~/.dsh/skills/misakanet/skill.md # must existAfter fixing any installation issue:
dsh plugin list # should show misakanet
dsh tool list | grep misakanet # should show tools
dsh plugin --dump-config # should show misakanet layerdsh-plugin-install-github-codeload-timeout.md— codeload-specific timeout deep dive