これは私のtypescriptですプロジェクトの設定ファイルである:なぜvscodeはtscが見つからなかった場合に「ファイルtsconfig.jsonに入力がありません」というエラーを出すのですか?
VSコードは私にこのエラーを与えている{
"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"
]
}
:
file: 'file:///e%3A/Programming/TypeScript/tsconfig.json' severity: 'Error' message: 'No inputs were found in config 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のファイルのDefinitionをグーグルが、私は見つけることができませんでしたこのエラーのソース。私はここで間違って何をしていますか? tscを使ってコンパイルするときは、すべて問題ありません。
ノードtypescriptコンパイラを追加してVisual Studio 2017に付属のものを使用しなくなったとき、このエラーは最終的に消えました。 – BadSnowflake
ニース!これは異常なバグで、誰もが修正が異なるように思えます。うれしいことです。 – vincecampanale