cloudflare / cloudflare/templates
🐛 BUG: "create-cloudflare templates must contain a wrangler.toml or wrangler.json(c)" when using `vite-react-template`
- Dominant language
- TypeScript
- Stars
- 2.1k
- Forks
- 1k
- Avg merge
- 17h 44m
- Merged PRs (30d)
- 10
Description
### Which template does this pertain to?
vite-react-template
### What versions are you using?
wrangler 4.9.1
### What operating system and version are you using?
Mac Sonoma 14.5
### Please provide a link to a minimal reproduction (optional)
_No response_
### Describe the Bug
Attempting to initialize a new Cloudflare Worker project with the `vite-react-template` from the official Cloudflare templates repository fails due to a missing Wrangler configuration file.
## Steps to Reproduce
Run this command in the terminal:
`pnpm create cloudflare@latest -- --template=cloudflare/templates/vite-react-template`
During the interactive prompts, enter:
Directory: ./my-app
Category: Template from a GitHub repo
Repository URL: https://github.com/cloudflare/templates/tree/staging/vite-react-template
### Please provide any relevant error logs
Error: create-cloudflare templates must contain a "wrangler.toml" or "wrangler.json(c)" file.
Contributor guide
Assessment
This issue has not been assessed yet.