{
  "id": "go/module-not-found-in-proxy",
  "signature": "go: module github.com/example/lib@v1.0.0: reading https://proxy.golang.org/github.com/example/lib/@v/v1.0.0.mod: 404 Not Found",
  "signature_zh": "go: 模块 github.com/example/lib@v1.0.0: 从 https://proxy.golang.org 读取时返回 404",
  "regex": "go:\\ module\\ github\\.com/example/lib@v1\\.0\\.0:\\ reading\\ https://proxy\\.golang\\.org/github\\.com/example/lib/@v/v1\\.0\\.0\\.mod:\\ 404\\ Not\\ Found",
  "domain": "go",
  "category": "module_error",
  "subcategory": null,
  "root_cause": "The module version does not exist on the Go module proxy, usually due to a typo in the module path or version tag not being pushed.",
  "root_cause_type": "generic",
  "root_cause_zh": "模块版本在 Go 模块代理上不存在，通常是因为模块路径拼写错误或版本标签未推送。",
  "versions": [
    {
      "version": "1.21",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "1.22",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "1.23",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "Using 'go get -u' to force update all modules.",
      "why_fails": "The targeted version doesn't exist, so updating won't fix the 404.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    },
    {
      "action": "Adding the module path to go.sum manually.",
      "why_fails": "go.sum only stores checksums; it doesn't create module versions.",
      "fail_rate": 1.0,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Verify the module path and version exist on the proxy or source repository.",
      "success_rate": 0.85,
      "how": "Run 'go list -m -versions github.com/example/lib' to see available versions. Check the repo tags.",
      "condition": "",
      "sources": []
    },
    {
      "action": "Use a direct source path with GOFLAGS=-mod=mod and replace directive.",
      "success_rate": 0.75,
      "how": "In go.mod, add: 'replace github.com/example/lib v1.0.0 => github.com/example/lib v1.0.1' (if version exists) or use a fork.",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": null,
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.85,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-03-15",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}