cloudflare / cloudflare/workers-sdk

🐛 BUG: Improve logging for how to resolve conflict in configuration files

Open
#8,722 1 comment 0 reactions 0 assignees View on GitHub
error-messaging
Dominant language
TypeScript
Stars
4.5k
Forks
1.5k
Avg merge
3d 8h
Merged PRs (30d)
187

Description

### Which Cloudflare product(s) does this pertain to?

Wrangler

### What versions are you using?

4.6.0 [Wrangler]

### What operating system and version are you using?

Mac Sonoma

### Please provide a link to a minimal reproduction

_No response_

### Describe the Bug

The error message for conflicting configurations does not provide any guidance on how to solve (errors should explain why they are occurring and give guidance on how to fix).

![Image](https://github.com/user-attachments/assets/3c84e90e-b1e6-4747-babb-5bd18044d92c)

### Please provide any relevant error logs

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the conflicting-configuration error in Wrangler 4.6.0 on macOS, then trace where the message is generated. Improve the error so it explains why the configurations conflict and gives concrete guidance for resolving them; verify the updated output against the reported scenario.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.