Why does vscode give me the error "No inputs found in the tsconfig.json file" when tsc did not find it?

This is the configuration file for my typescript project:

{
    "compilerOptions": {
        "sourceMap": true,
        "target": "es5",
        "outFile": "js/app.js"
    },
    "files": [
        "src/main.ts",
        "src/bootstrap.ts",
        "libs/phaser.d.ts"
    ],
    "exclude": [
        "docs",
        "css",
        "index.html"
    ]
}

The VS code gives me this error:

file: 'file: /// e% 3A / Programming / TypeScript / tsconfig.json' severity: error message: "No entries were found in the configuration file 'E: / Programming/TypeScript/tsconfig.json. Specified' include 'paths were' ["** / *"] 'and' exclude 'paths were' ["node_modules", "bower_components", "jspm_packages"] '". at: '1,1' source: 'js'

tsconfig, . ? tsc .

+4
1

( VS-), , .ts , . Typescript - ( "" ).

, include,

"include": [
   '**/*'
]

tsconfig.json ?

+1

Source: https://habr.com/ru/post/1674443/


All Articles