Nem számít, mit teszek, nem tud a TSC géppel fordító talált fájlokat. Megpróbáltam mind a TSC, hogy jön a Visual Studio Extension és az egyik, hogy jön NPM. Megpróbáltam a node.js parancssori ablak héj, és a Git Bash shell. Nem számít, mit csinálok, csak azt mondja, a fájl nem található. Olvastam, hogy a fordító csak akkor fog működni .ts és .str fájlokat, de ez nem úgy tűnik, hogy a probléma.
Itt van egy gyors példa arra, amit látok. Tudom, hogy ezek a fájlok üres lesz, de én már próbáltam mindezt fájlokat tartalmazó kódot, és ez nem változtat semmin.
C:\>touch test.ts
C:\>ls *.ts
test.ts
C:\>tsc test.ts
Error reading file test.ts: File not found
C:\>tsc C:\test.ts
Error reading file C:\test.ts: File not found
C:\>touch test.str
C:\>tsc test.str
Error reading file test.str: File not found
C:\>tsc ./test.str
Error reading file ./test.str: File not found
C:\>tsc ./test.ts
Error reading file ./test.ts: File not found
C:\>touch test.js.ts
C:\>tsc test.ts
Error reading file test.ts: File not found
C:\>tsc test.js
Error reading file test.js: File not found













