Skip to content

fix: resolve vault empty state on Vercel and local dev - #64

Merged
collinsezedike merged 2 commits into
mainfrom
feat/app-dashboard
May 22, 2026
Merged

fix: resolve vault empty state on Vercel and local dev#64
collinsezedike merged 2 commits into
mainfrom
feat/app-dashboard

Conversation

@collinsezedike

Copy link
Copy Markdown
Collaborator

Summary

  • Inlines KNOWN_POOLS directly in api/v1/vaults/_shared.ts, removing the cross-package relative import that caused ERR_REQUIRE_ESM on Vercel (Vercel compiles serverless functions as CommonJS; importing from a package with "type": "module" breaks at runtime)
  • Removes the redis import and caching logic from apps/api/src/routes/vaults.ts, which was crashing the local Fastify server on startup with ERR_MODULE_NOT_FOUND after the package was dropped

Test plan

  • Vercel deployment succeeds and /api/v1/vaults returns vault data
  • pnpm dev starts both web and API without errors
  • Vault list renders on the dashboard instead of the empty state

@vercel

vercel Bot commented May 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
meridian Ready Ready Preview, Comment May 22, 2026 10:52am

@collinsezedike
collinsezedike merged commit f63c797 into main May 22, 2026
4 checks passed
@collinsezedike
collinsezedike deleted the feat/app-dashboard branch May 22, 2026 10:56
@collinsezedike collinsezedike added bug Something isn't working api Adds or modifies a REST endpoint in apps/api and removed bug Something isn't working api Adds or modifies a REST endpoint in apps/api labels May 22, 2026
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.

1 participant