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).
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 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
extendspath/package not installed (@tsconfig/...)- JSON syntax error
- File not copied into Docker context
- Monorepo project references mispathed
⚡ Quick fix
npx tsc -p ./packages/app/tsconfig.jsonnpm i -D @tsconfig/node20for extends packages- Validate with
npx tsc --showConfig
Detailed fix by platform
Linux
npx tsc --showConfig -p tsconfig.json
How to diagnose
- Path — Right directory?
- extends — Resolves?
- 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:
Similar errors
- Cannot find module './App.vue' or its corresponding type declarations TypeScript: error TS2307: Cannot find module './App.vue' or its corresponding type declarations.
- TS1005: ';' expected / ',' expected (syntax error) TypeScript: error TS1005: ';' expected.
- TS1128: Declaration or statement expected TypeScript: error TS1128: Declaration or statement expected.
Most viewed in TypeScript
Other ways to find it
Where this error sits
Origin: On your device. Errors that are often confused with or caused by this one (click to open):
🧠 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.
Report a correction or suggest an improvement
Last updated 5 Nov 2026