Skip to content

fix(pulse): declare yaml dependency in Observability package.json#1396

Open
badosanjos wants to merge 1 commit into
danielmiessler:mainfrom
badosanjos:fix/observability-yaml-dep
Open

fix(pulse): declare yaml dependency in Observability package.json#1396
badosanjos wants to merge 1 commit into
danielmiessler:mainfrom
badosanjos:fix/observability-yaml-dep

Conversation

@badosanjos

Copy link
Copy Markdown

Fixes #1390.

observability.ts imports yaml but the package is not declared in PULSE/Observability/package.json (nor PULSE/package.json). On a fresh v6.0.0 install the Observability module fails to resolve (Cannot find package 'yaml'), so the daemon runs but every dashboard page and /api/* route it serves returns 404.

Fix: declare yaml in dependencies (pinned ^2.6.0; verified working with 2.9.x).

Verified on Ubuntu 24.04 + bun 1.2.x: after bun install, Pulse logs Observability module loaded and / + /api/telos/overview return 200.

observability.ts imports 'yaml' but the package was never declared, so on
a fresh install the Observability module fails to resolve and every
dashboard page and /api/* route it serves returns 404 while the daemon
itself runs.

Fixes danielmiessler#1390
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

v6.0.0: Observability module fails to load — 'yaml' imported but not declared in package.json (dashboard/APIs 404)

1 participant