TS5083

error TS5083: Cannot read file ‘base.json‘.

Broken Code ❌

1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
"extends": "./base.json",
"compilerOptions": {
"lib": [
"dom",
"es6"
],
"module": "commonjs",
"moduleResolution": "node",
"outDir": "dist",
"rootDir": "src",
"target": "es6"
}
}

Fixed Code ✔️

Your TS config is extending another config (called base.json) which cannot be found. Make sure that this file (base.json) exists or remove your extends property.