{
  "id": "APP-13",
  "title": "\"Module not found: Can't resolve './components/header'\" on Vercel or Netlify, but it builds on your computer",
  "error_string": "Module not found: Can't resolve './components/header'",
  "also_appears_as": [
    "[UNRESOLVED_IMPORT] Could not resolve './components/header' in src/App.tsx",
    "error TS2307: Cannot find module './components/header' or its corresponding type declarations."
  ],
  "platforms": [
    "Vercel",
    "Netlify",
    "Cursor",
    "Bolt",
    "Lovable"
  ],
  "primary_platform": "vercel",
  "versions": {
    "os": "Debian 13 (container)",
    "node": "20.19.2",
    "vite": "8.3.5 (react-ts template)",
    "git": "2.47.3"
  },
  "last_verified": "2026-10-26",
  "status": "manually-verified",
  "status_label": "Manually verified",
  "ci_status": "pending-ci",
  "ci_results_url": null,
  "retest_due": "2026-11-25",
  "published": "2026-10-30",
  "repro_url": "https://stucktoshipped.com/repros/APP-13/",
  "repro_files_url": "https://stucktoshipped.com/repros/APP-13/index.json",
  "fix_summary": "Linux build servers are case-sensitive and your Mac or PC isn't. The full fix shows how to find the mismatch and the git-safe way to rename a file when git ignores case-only changes.",
  "fix_summary_is_teaser": true,
  "full_fix": {
    "access": "paid",
    "product_id": "full-fix",
    "also_in": [
      "repro-bundle",
      "fix-pass",
      "agent-api"
    ],
    "price_usd": 4,
    "currency": "USD",
    "prices_are_placeholders": true,
    "purchase_status": "not_yet_available",
    "buy_url": "https://stucktoshipped.com/pricing/#full-fix",
    "stripe_payment_link": "TODO",
    "sha256": "d481431a2afea25e765b2dd6eaefd78a36cc83d3a8d5d23e9d57e612461a9d31",
    "words": 417,
    "code_blocks": 1,
    "sections": [
      "Fix",
      "How to check it worked",
      "What we actually tested (Oct 26, 2026)"
    ]
  },
  "repro_bundle": {
    "access": "paid",
    "product_id": "repro-bundle",
    "price_usd": 9,
    "files": 17,
    "manifest_url": "https://stucktoshipped.com/repros/APP-13/index.json"
  },
  "url": "https://stucktoshipped.com/fixes/vercel/module-not-found-filename-casing/",
  "markdown_url": "https://stucktoshipped.com/fixes/vercel/module-not-found-filename-casing/index.md",
  "json_url": "https://stucktoshipped.com/fixes/vercel/module-not-found-filename-casing/index.json",
  "sources": [
    {
      "title": "Vercel KB: How do I resolve a 'module not found' error?",
      "url": "https://vercel.com/kb/guide/how-do-i-resolve-a-module-not-found-error"
    },
    {
      "title": "Stack Overflow: Next.js build error on Vercel but not in local",
      "url": "https://stackoverflow.com/questions/72421143/next-js-build-error-on-vercel-but-not-in-local"
    },
    {
      "title": "Vercel community: Module not found for existing file with correct casing",
      "url": "https://community.vercel.com/t/module-not-found-for-existing-file-with-correct-casing/14128"
    },
    {
      "title": "next.js discussion 57507",
      "url": "https://github.com/vercel/next.js/discussions/57507"
    }
  ],
  "indexable": true,
  "reviewed_by_human": null,
  "content_sha256": "6508e0b27d04aca92cb6fb64bf0bc7c612330131ee54e763df18edfd9cc02bf9"
}
