Nu contează ce fac eu nu pot obține compilator TSC typescript pentru a găsi alte fișiere. Am încercat atât TSC, care vine cu extensia Studio vizuală și cea care vine de la NPM. Am încercat în Node.js ferestre de linie de comandă shell, și Bash coajă Git. Nu contează ce fac eu, doar spune că fișierul nu este găsit. Am citit că compilatorul va funcționa doar pentru fișiere și .str TS, dar care nu pare a fi problema.
Aici este un exemplu rapid de ceea ce văd. Știu că aceste fișiere vor fi goale, dar am încercat toate acestea cu fișiere care conțin cod și nu se schimbă nimic.
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













