Closed dbell11 closed 4 months ago
@dbell11 Thanks for the issue. I see the issue you describe in Stackblitz, but when I download the project and build it locally, I don't see the issue. Do you also have the issue locally?
@alexanderniebuhr Thank you for your prompt response!
Yes, I am encountering the issue both locally and in Stackblitz. Here is a screenshot. Additionally, I would like to note that "npm run dev" works perfectly. The issue arises specifically during the build process (npm run build).
This should be fixed in the v11 release, which will be published later today to npm.
Astro Info
Describe the Bug
I recently updated my AstroJS project dependencies and encountered a build error when using the imageService: cloudflare option in the astro.config.mjs file. The build process runs without issues when this option is removed. This problem persists even in a completely new and empty project.
Steps to Reproduce Create a new AstroJS project. Add the @astrojs/cloudflare adapter. Set the imageService to cloudflare in the astro.config.mjs file. Run npm run build.
Actual Behavior The build process fails with the following error:
What's the expected result?
The build process should complete successfully without errors.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/withastro-astro-eymk2p?file=astro.config.mjs
Participation