{
  "id": "nextjs/parallel-route-slot-missing-suspense",
  "signature": "Error: Parallel route slot '@slot' requires a Suspense boundary or default.tsx",
  "signature_zh": "错误：并行路由插槽 '@slot' 需要 Suspense 边界或 default.tsx",
  "regex": "Parallel route slot '@.*' requires a Suspense boundary or default\\.tsx",
  "domain": "nextjs",
  "category": "build_error",
  "subcategory": null,
  "root_cause": "In Next.js app directory, parallel route slots (e.g., @modal) must be wrapped in a Suspense boundary or have a default.tsx file to handle loading states when the slot is not matched.",
  "root_cause_type": "generic",
  "root_cause_zh": "在 Next.js app 目录中，并行路由插槽（例如 @modal）必须包裹在 Suspense 边界中，或具有 default.tsx 文件来处理插槽未匹配时的加载状态。",
  "versions": [
    {
      "version": "next@14.2.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "next@14.3.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "next@15.0.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "This may cause layout shifts or missing UI because the slot renders nothing when unmatched, but the error persists if the slot is still not wrapped in Suspense.",
      "fail_rate": 0.5,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "This eliminates the feature, which may not be acceptable for modals or complex layouts.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Wrap the parallel route slot in a Suspense boundary in the layout file.",
      "success_rate": 0.95,
      "how": "Wrap the parallel route slot in a Suspense boundary in the layout file.",
      "condition": "",
      "sources": []
    },
    {
      "action": "Create a default.tsx file in the slot directory to handle unmatched routes.",
      "success_rate": 0.85,
      "how": "Create a default.tsx file in the slot directory to handle unmatched routes.",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "在布局文件中将并行路由插槽包裹在 Suspense 边界中。",
    "在插槽目录中创建 default.tsx 文件来处理未匹配的路由。"
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://nextjs.org/docs/app/building-your-application/routing/parallel-routes",
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.88,
  "fix_success_rate": 0.95,
  "resolvable": "true",
  "first_seen": "2024-06-20",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}