Bez ohledu na to, co dělám, nemůžu dostat TSC strojopisem kompilátor najít nějaké soubory. Zkoušel jsem i TSC, který je dodáván s Visual Studio rozšíření a ten, který pochází z NPM. Snažil jsem se v Node.js příkazového řádku prostředí Windows, a Git Bash shell. Bez ohledu na to, co dělám, je to prostě říká, že soubor nebyl nalezen. Četl jsem, že kompilátor bude fungovat pouze na Ts a .str soubory, ale to se nezdá být problém.
Zde je rychlý příklad toho, co jsem viděl. Vím, že tyto soubory budou prázdné, ale já jsem se snažil to všechno se soubory, které obsahují kód, a to nic nemění.
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













