TS5083: Cannot read file tsconfig.json / extends not found TypeScript Origin: On your device OSI layer 7 · Application Last updated 5 Nov 2026

TypeScript: error TS5083: Cannot read file '/app/tsconfig.json'. / error TS6053: File 'tsconfig.base.json' not found

tsc/your IDE can't find or parse the tsconfig (wrong directory, bad extends, JSON error).

Exact message you may see error TS5083: Cannot read file '/app/tsconfig.json'.error TS6053: File 'tsconfig.base.json' not found.error TS5058: The specified path does not existerror TS18003: No inputs were found in config fileTS5083 Cannot read file tsconfig.json
Seen on: TypeScript Node.js

Meaning

Run tsc -p path/to/tsconfig.json from the right directory, check the extends path (./tsconfig.base.json or @tsconfig/node20/tsconfig.json installed), and fix JSON syntax (tsconfig allows comments and trailing commas but not other errors). In Docker/CI check files were copied.

Common causes

  • tsconfig missing in cwd
  • extends path/package not installed (@tsconfig/...)
  • JSON syntax error
  • File not copied into Docker context
  • Monorepo project references mispathed

⚡ Quick fix

  1. npx tsc -p ./packages/app/tsconfig.json
  2. npm i -D @tsconfig/node20 for extends packages
  3. Validate with npx tsc --showConfig

Detailed fix by platform

Linux

  1. npx tsc --showConfig -p tsconfig.json

How to diagnose

  1. Path — Right directory?
  2. extends — Resolves?
  3. JSON — Valid?

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

Where this error sits

Origin: On your device. Errors that are often confused with or caused by this one (click to open):

Cannot find module './App.vue' or its corresponding type declarations — TypeScript: error TS2307: Cannot find module './App.vue' or its corresponding type declarations. (Vue)Cannot find module '.…TS1005: ';' expected / ',' expected (syntax error) — TypeScript: error TS1005: ';' expected. (TypeScript)TS1005: ';' expected …TS1128: Declaration or statement expected — TypeScript: error TS1128: Declaration or statement expected. (TypeScript)TS1128: Declaration o…TS17004: Cannot use JSX unless the '--jsx' flag is provided — TypeScript: error TS17004: Cannot use JSX unless the '--jsx' flag is provided. (TypeScript)TS17004: Cannot use J…TS2307 — TS2307: Cannot find module 'x' or its corresponding type declarations. (Node.js)TS2307TS2688: Cannot find type definition file for 'x' — TypeScript: error TS2688: Cannot find type definition file for 'node'. (TypeScript)TS2688: Cannot find t…TS2792: Cannot find module — did you mean to set the 'moduleResolution' option to 'nodenext' — TypeScript: error TS2792: Cannot find module 'x'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option? (TypeScript)TS2792: Cannot find m…TS2802: Type can only be iterated through when using the '--downlevelIteration' flag — TypeScript: error TS2802: Type 'Set<string>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher (TypeScript)TS2802: Type can only…TS5083: C…

Explore the map of this error Full error map →

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.

💬 What worked for others

No tips yet — did something else fix this for you?

Share what worked for you

Tips are checked by an editor before they appear. Links are removed.