-
Notifications
You must be signed in to change notification settings - Fork 0
troubleshooting
Most problems here fall into a handful of buckets. Find yours below; if nothing matches, jump to the end.
- Use
npx @logicplanes/specui@latest <cmd>, or install globally withnpm install -g @logicplanes/specui - Check you're on Node 18+:
node -v
Pin explicitly: npx -y @logicplanes/specui@2.0.2 validate …
Use --force only if you genuinely intend to overwrite the contract — it's destructive.
Update the CLI — preset list parsing was fixed in recent releases.
Re-run with --agents-md. Check validate for agents-md-block-missing.
SPEC.md lists componentsRequired / patternsRequired from your preset. Either add what's missing:
npx specui add component <name>or edit the SPEC.md front matter to match what you actually ship, then validate again.
Make sure the readOrder in SPEC.md front matter matches the Schema order, including AGENTS-GUIDE.md.
# Refresh block (avoid --force on .specui unless overwriting)
npx specui init --agents-md --target . If .specui exists, init refuses to overwrite it — use your team's documented refresh flow, or merge the block from the latest specui templates.
Fix the offending token pairs in TOKENS.yaml, or adjust the semantic roles in 02-foundations-tokens.md. As a temporary escape hatch there's --no-contrast — but don't leave it in production CI.
Replace TODO / template placeholders in the numbered docs and token files.
npx specui syncFix broken paths in manifests, and make sure components/<name>/ exists for every registered id.
Add a sync + diff check — see CI/CD.
- Check outbound HTTPS
- Offline, use
specui get --from file:///path/item.json -
specui get --listrequires network for shadcn
Use --force on get to replace the vendor tree (review the diff afterwards).
Use --force, or unlink / remove .specui first (back it up with export).
Run specui update --name <source> and read the validate JSON; fix the design system or your app overrides. specui diff shows exactly which tokens changed.
push only works when SPEC.md is at the repo root (the specui new layout).
GitHub only creates the Wiki git backend after you save one page in the UI — until then there is nothing to push to. (The wiki/ folder in this repo is the source; the Wiki tab is a mirror.)
- Open https://github.com/logicplanes/specui/wiki/_new
- Title it Home, add any line, Save
- Re-run Actions → Sync Wiki (or push a change under
wiki/ondev)
The workflow runs node scripts/sync-wiki.mjs (all doc pages + _Sidebar.md). If the push still fails, add the repo secret WIKI_PUSH_TOKEN (a classic PAT with repo scope).
Use /specui/docs/ — don't double the GitHub Pages base path. Fixed in site 2.0.2+.
Restart the editor. If it still doesn't pick it up, run specui mcp config and merge the output manually.
Use the default stdio transport: specui mcp start.
npx specui doctornpx specui validate .specui --json --strict-
GitHub issues with redacted
validate --jsonoutput
Getting started
How-to guides
- Scenarios
- Tokens And Components
- Agents And Mcp
- Agent Prompts
- Ci Cd
- Distribution
- Registries
- Interop
- Designmd
- Validation
- Troubleshooting
Reference
Community