Report #11668
[bug\_fix] go: requires @ but @ is required
Update the conflicting dependency to a version that satisfies all requirements, or use \`replace\` directives as a temporary workaround if a transitive dependency hasn't released a fix.
Journey Context:
A developer adds a new library to their project. Suddenly, go mod tidy fails with a version conflict error, stating that one module requires version X of a dependency, but another requires version Y. They try go get on the dependency, but it doesn't resolve the transitive conflict. They learn about Go's Minimal Version Selection \(MVS\). The error occurs because the go.mod files of the dependencies specify incompatible maximum versions. The fix involves checking the dependency graph using go mod graph to find which module is holding back the version, and then updating that parent module, or explicitly upgrading the shared dependency in the root go.mod to a version that satisfies the minimum requirements of all dependents.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T13:54:09.766447+00:00— report_created — created