{"record":{"id":"f97dc2c4036a3abc","repo":"denoland/deno","slug":"native-tsc-exited-with-without-parseable-diagno","errorCode":null,"errorMessage":"native tsc exited with {} without parseable diagnostics{}","messagePattern":"native tsc exited with (.+?) without parseable diagnostics(.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"cli/tools/check.rs","lineNumber":395,"sourceCode":"    log::error!(\"{}\\n\", diagnostics);\n    return Err(deno_core::anyhow::anyhow!(\"Type checking failed.\"));\n  }\n\n  // tsc exited non-zero but we have nothing to show. If it printed diagnostic\n  // lines we deliberately dropped (e.g. `noImplicitOverride` in remote modules),\n  // its exit code is expected - treat the check as clean. Only when tsc produced\n  // no recognizable diagnostics at all is this a genuine failure (an internal\n  // error or a malformed generated config); surface whatever it printed then.\n  let tsc_reported_diagnostics =\n    crate::tsc::native::output_has_diagnostics(&stdout);\n  if !output.status.success() && !tsc_reported_diagnostics {\n    let detail = stdout.trim();\n    let detail = if detail.is_empty() {\n      stderr.trim()\n    } else {\n      detail\n    };\n    return Err(deno_core::anyhow::anyhow!(\n      \"native tsc exited with {} without parseable diagnostics{}\",\n      output.status,\n      if detail.is_empty() {\n        String::new()\n      } else {\n        format!(\":\\n{detail}\")\n      }\n    ));\n  }\n\n  // Type-checked clean: record the hash so an unchanged re-check skips tsc.\n  if let Some(check_hash) = maybe_check_hash {\n    type_check_cache.add_check_hash(check_hash);\n  }\n\n  Ok(())\n}\n","sourceCodeStart":377,"sourceCodeEnd":413,"githubUrl":"https://github.com/denoland/deno/blob/89f33cbef296a2b287f323d42de54c871fa69c77/cli/tools/check.rs#L377-L413","documentation":"Error \"native tsc exited with {} without parseable diagnostics{}\" thrown in denoland/deno.","triggerScenarios":"Thrown at cli/tools/check.rs:395 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"89f33cbef296a2b287f323d42de54c871fa69c77","analyzedAt":"2026-08-16T07:54:21.310Z","schemaVersion":2},"datasetVersion":"2026-08-16T08:17:34.114Z"}