pnpm install
pnpm run build
# or
pnpm run build -- --watch
pnpm add -g wrangler@latest
wrangler pages dev .svelte-kit/cloudflare --port=5173
The error occurs on http://localhost:5173/db
Source: ./src/routes/db/+page.server.ts
Error: The script will never generate a response.
at async Object.fetch (file:///Users/USER/Library/pnpm/global/5/.pnpm/[email protected]/node_modules/miniflare/dist/src/workers/core/entry.worker.js:966:22)