fix: ensure core is built before launching dashboard in /understand-dashboard

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Lum1104
2026-03-21 22:25:21 +08:00
Unverified
parent 922cc32a13
commit de66bb7d76
@@ -27,10 +27,14 @@ Start the Understand Anything dashboard to visualize the knowledge graph for the
- `${CLAUDE_PLUGIN_ROOT}/packages/dashboard/`
- The parent directory of this skill file, then `../../packages/dashboard/`
4. Install dependencies if needed:
4. Install dependencies and build if needed:
```bash
cd <dashboard-dir> && pnpm install --frozen-lockfile 2>/dev/null || pnpm install
```
Then ensure the core package is built (the dashboard depends on it):
```bash
cd <plugin-root> && pnpm --filter @understand-anything/core build
```
5. Start the Vite dev server pointing at the project's knowledge graph:
```bash