We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
C3 (npm create cloudflare)
c3 v2.33.1, [email protected]
22.11.0
macOS Sequoia v15.1.1
c3 exits with a fatal error when it tries to add type declarations in src/env.d.ts This file appear to have been removed (made optional).
src/env.d.ts
c3 should not error out with astro projects.
npm create cloudflare
--experimental
No response
Updating configuration in astro.config.mjs Adding type declarations in src/env.d.ts ERROR Error: Error parsing file: src/env.d.ts
The text was updated successfully, but these errors were encountered:
We changed the way types are declared in Astro v5: https://docs.astro.build/en/guides/upgrade-to/v5/#changed-typescript-configuration
Sorry, something went wrong.
Thanks for the issue @jldec 🙂
#7497 should address this 👍
Successfully merging a pull request may close this issue.
Which Cloudflare product(s) does this pertain to?
C3 (npm create cloudflare)
What version(s) of the tool(s) are you using?
c3 v2.33.1, [email protected]
What version of Node are you using?
22.11.0
What operating system and version are you using?
macOS Sequoia v15.1.1
Describe the Bug
Observed behavior
c3 exits with a fatal error when it tries to add type declarations in
src/env.d.ts
This file appear to have been removed (made optional).
Expected behavior
c3 should not error out with astro projects.
Steps to reproduce
npm create cloudflare
(with or without--experimental
, both fail in the same way)Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
The text was updated successfully, but these errors were encountered: