Cloudflare DevelopersCD
Cloudflare Developers9mo ago
12 replies
Kotkoroid

Vite with WorkerEntrypoint (RPC)

I'm trying to run Hono app on Vite as Cloudflare Worker. I'm using @cloudflare/vite-plugin and I'm getting following error when vite serve: Worker "core:user:minerva-gateway"'s binding "AUTH_SERVICE" refers to a service "core:user:minerva-auth", but no such service is defined.

The problem might be because I use WorkerEntrypoint (to enable RPC), does Vite support it? If so, where should I define the service?
Was this page helpful?