Skip to content
New issue

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

🐛 BUG: c3 and wrangler init from dash broken with duplicate config files #8188

Open
emily-shen opened this issue Feb 19, 2025 · 0 comments · May be fixed by #8232
Open

🐛 BUG: c3 and wrangler init from dash broken with duplicate config files #8188

emily-shen opened this issue Feb 19, 2025 · 0 comments · May be fixed by #8232
Labels
bug Something that isn't working regression Break in existing functionality as a result of a recent change

Comments

@emily-shen
Copy link
Contributor

emily-shen commented Feb 19, 2025

To replicate, create a worker on the dashboard, then run
npx create-cloudflare@latest <worker-name> --existing-script <worker-name> or
npx wrangler init --from-dash <worker-name>

Discussed in #8183

Originally posted by qwadrox February 18, 2025
After running this which I got from the dashboard

npx create-cloudflare@latest trigger-cms-build --existing-script trigger-cms-build

I see a confusing output like this:

image

For me the 3 wrangler file ambiguous. Which one I should extend with my own configuration?
Which package.json file should contain the dependencies?

using

npm create cloudflare@latest

the project structure is more flat and clean

image

How it differs from the more complex structure?

@emily-shen emily-shen added bug Something that isn't working regression Break in existing functionality as a result of a recent change labels Feb 19, 2025
@github-project-automation github-project-automation bot moved this to Untriaged in workers-sdk Feb 19, 2025
@emily-shen emily-shen moved this from Untriaged to Backlog in workers-sdk Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something that isn't working regression Break in existing functionality as a result of a recent change
Projects
Status: Backlog
1 participant