Support
Troubleshooting
Common issues and diagnostics checklist.
Quick Checks
- Confirm Node.js ≥ 20 and
pnpm -vmatches the version in.tool-versionsif you use asdf. - Clear
.next,.turbo, andnode_modules/.cachewhen builds act oddly, or runpnpm cleanto clean the workspace. - Run
pnpm checkto catch type or lint issues introduced during refactors. - Tail logs for Workers via
pnpm -C apps/workers/v0 devto capture request IDs.
Pitfalls and Fixes
- Missing env templates: Forgetting to copy
.env.exampleor.dev.vars.exampleresults in blank credentials. Re-run thecpcommands from the setup guide and restart dev servers. - Wrong Worker bindings: Wrangler deploys fail if KV, Durable Objects, or
queues are missing. Inspect
wrangler.jsoncand rerunwrangler secret putfor each binding. - SDK bundle errors: Running
pnpm -C packages/sdks/js-ts buildwithout clearing staledistcan produce mismatched declaration files. Usepnpm -C packages/sdks/js-ts cleanfirst. - Stale OpenAPI spec: After updating Worker routes or request/response
schemas, run
pnpm -C apps/workers/v0 gen:openapito regenerateopenapi.toml; otherwise docs and SDK clients drift. - Schema drift: Updating
packages/contractswithout regenerating the SDK or redeploying Workers leads to type mismatches. Bump both in the same branch and run affected builds. - Rate limit surprises: Development accounts hit Upstash quotas quickly. Check Redis logs and back off polling intervals or request an increased plan.
- Edge caching confusion: Cloudflare caches worker responses aggressively. Disable caching with preview bindings when testing or explicitly purge via the Cloudflare dashboard.