# go: github.com/example/mod@v1.0.0 requires golang.org/x/text@v0.3.0, but go.mod requires golang.org/x/text@v0.4.0 (incompatible)

- **ID:** `go/mod-tidy-incompatible`
- **Domain:** go
- **Category:** module_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

A module dependency requires a different version of a transitive dependency than what is specified in go.mod, causing a conflict.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 1.20 | active | — | — |
| 1.21 | active | — | — |
| 1.22 | active | — | — |

## Workarounds

1. **Update the conflicting dependency to a version that satisfies all requirements.** (75% success)
   ```
   Run 'go get golang.org/x/text@v0.4.0' and then 'go mod tidy' to resolve.
   ```
2. **Use a replace directive to force a version.** (70% success)
   ```
   Add to go.mod: 'replace golang.org/x/text v0.3.0 => golang.org/x/text v0.4.0' if compatible.
   ```

## Dead Ends

- **Deleting go.sum and running 'go mod tidy' again.** — The conflict is in go.mod; tidy will re-resolve but may not fix incompatibility. (70% fail)
- **Forcing an update with 'go get -u golang.org/x/text@v0.3.0'.** — This may break other dependencies that require v0.4.0. (60% fail)
