mirror of
https://github.com/Egonex-AI/Understand-Anything.git
synced 2026-06-22 10:58:03 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user