Closed jaymakes11 closed 1 week ago
Astro v4.11.0 Node v20.11.0 System macOS (arm64) Package Manager npm Output server Adapter @astrojs/cloudflare Integrations @astrojs/tailwind @astrojs/solid-js @astrojs/sitemap @playform/compress
After upgrading from the latest Cloudflare v10 to the new v11, both astro dev fails with the error:
astro dev
Could not read file: wrangler.toml
And astro build fails with the error:
astro build
[ERROR] [content] Could not read file: wrangler.toml
Notes:
adapter: cloudflare()
wrangler.toml
This error should not occur. It should be possible to run these commands without a wrangler.toml file.
https://github.com/jaymakes11/astro-cloudflare-adapter-wrangler-error-repro
Astro Info
Describe the Bug
After upgrading from the latest Cloudflare v10 to the new v11, both
astro dev
fails with the error:And
astro build
fails with the error:Notes:
adapter: cloudflare()
wrangler.toml
in my project root fixes the issue (but should only be seen as a temporary workaround, imo)What's the expected result?
This error should not occur. It should be possible to run these commands without a wrangler.toml file.
Link to Minimal Reproducible Example
https://github.com/jaymakes11/astro-cloudflare-adapter-wrangler-error-repro
Participation