DF0033: Dev RPC Bridge Failed to Start
Message
Failed to start dev RPC bridge for "
{id}":{reason}
Cause
createVitePlugin({ devMiddleware }) could not bring up the bridge dev server that pairs a host-served SPA (Vite, Nuxt, Astro, etc.) with devframe's RPC backend. Common reasons:
- The preferred port is in use and no fallback range was configured.
- Calling
def.setup(ctx)threw — the devframe's own setup logic surfaced an error. - A required peer (e.g.
get-port-pleaseorh3) is missing or mismatched.
This is a soft warning — the surrounding Vite dev server keeps running, but the host-served SPA will fail its __connection.json lookup until the bridge starts.
Fix
- Pin a port via
cli.port/cli.portRangeon the devframe definition, or viadevMiddleware.portoncreateVitePlugin. - Inspect the
reason(or the attachedcause) for the underlying error — fix the setup function or free the port. - For Nuxt: pass
devMiddleware: { port: <free-port> }to the@devframes/nuxtmodule.
Source
packages/devframe/src/adapters/vite.ts—createVitePlugin({ devMiddleware })logsDF0033when port resolution orcreateDevServerthrows duringconfigureServer.