The Workers runtime failed to start on Fedora Linux
Hello!
I'm deploying a vanilla Astro website using pages. I'm now trying to connect that website to a D1 instance. When I start wrangler, I see an error stating that "✘ [ERROR] MiniflareCoreError [ERR_RUNTIME_FAILURE]: The Workers runtime failed to start. There is likely additional logging output above." The D1 binding I set up in the console is properly registered locally, and there are no additional logs related to the startup failure. I'm currently running the cloudflare plugin in advanced mode.
I've attempted to follow these instructions to no avail:
- https://developers.cloudflare.com/pages/framework-guides/deploy-an-astro-site/#use-bindings-in-your-astro-application
- https://docs.astro.build/en/core-concepts/endpoints/#server-endpoints-api-routes
I'm running Fedora Linux 38, wrangler 3.6.0, astro 3.0.7, and version 7.0.1 of the astro cloudflare plugin.
Deploy an Astro site · Cloudflare Pages docs
Astro is an all-in-one web framework for building fast, content-focused websites. By default, Astro builds websites that have zero JavaScript runtime …
2 Replies
Perhaps this is related to https://discord.com/channels/595317990191398933/1143320178189406278/1143322374649942176?
Discord
Discord - A New Way to Chat with Friends & Communities
Discord is the easiest way to communicate over voice, video, and text. Chat, hang out, and stay close with your friends and communities.
I cleared all of my processes and am able to get the binding working on wrangler 3.6.0. However, it only works with prebuilt assets (
pnpm build && wrangler pages dev ./dist
). I haven't gotten it working with hot reloading, as suggested in the documentation (wrangler pages dev --compatibility-date=2023-08-14 --proxy 3000 -- astro dev
)