{
  "id": "APP-16",
  "title": "Your app runs fine with npm run dev, but the deploy fails with TypeScript errors",
  "error_string": "error TS6133: 'count' is declared but its value is never read.",
  "also_appears_as": [
    "error TS2322: Type '...' is not assignable to type '...'",
    "Type error: ... / Failed to compile (Next.js)"
  ],
  "platforms": [
    "Bolt",
    "Lovable",
    "Cursor",
    "Netlify",
    "Vercel"
  ],
  "primary_platform": "vite",
  "versions": {
    "os": "Debian 13 (container)",
    "node": "20.19.2",
    "vite": "8.3.5 (react-ts template, strict, noUnusedLocals)",
    "browser": "Headless Chrome 156"
  },
  "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-16/",
  "repro_files_url": "https://stucktoshipped.com/repros/APP-16/index.json",
  "fix_summary": "The dev server skips type-checking; the production build doesn't. The full fix shows how to see every error locally in one pass, fix them, and why turning the check off is a trap.",
  "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": "ae595970ea3cec274438ab9c87caa2241dbb6e7cc08ca6ccc1ab7132ba258ad8",
    "words": 363,
    "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": 13,
    "manifest_url": "https://stucktoshipped.com/repros/APP-16/index.json"
  },
  "url": "https://stucktoshipped.com/fixes/vite/typescript-errors-fail-build-dev-works/",
  "markdown_url": "https://stucktoshipped.com/fixes/vite/typescript-errors-fail-build-dev-works/index.md",
  "json_url": "https://stucktoshipped.com/fixes/vite/typescript-errors-fail-build-dev-works/index.json",
  "sources": [
    {
      "title": "r/boltnewbuilders: Netlify builds failing due to TypeScript errors",
      "url": "https://www.reddit.com/r/boltnewbuilders/comments/1hy1d9d/help_with_manual_deployment_netlify_builds/"
    },
    {
      "title": "next.js discussion 24866: local builds succeed but Vercel build fails (Type error)",
      "url": "https://github.com/vercel/next.js/discussions/24866"
    },
    {
      "title": "r/cursor: moving from dev environment to production build",
      "url": "https://www.reddit.com/r/cursor/comments/1hgmjl3/looking_for_help_moving_from_dev_environment_to/"
    }
  ],
  "indexable": true,
  "reviewed_by_human": null,
  "content_sha256": "76a659575babd968b419fb51ed6468e3e8ea1ef1c5e5832d8c5cf64f3453e574"
}
