After moving to fresh windows 10 PC i have stuck with error.
TS5007: Cannot resolve referenced file: tsconfig.json
tsc stop working with tsconfig.json, i can not force it to find tsconfig.json, i call it with --p/--project flag and specify full path - nothing helped.
Where is a problem? And how it can be solved?
C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\tsc.exe
C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\tsc.js
for some reason the typescript was installed separately (not via npm) there, and that exe file replaced new one from npm.
i removed that folder ("C:\Program Files (x86)\Microsoft SDKs\TypeScript") and problem was fixed.
I have the same problem, and found that I have two typescript versions (1.0 and 1.8) in C:\Program Files (x86)\Microsoft SDKs\TypeScript
After removing the old version, it continued working properly.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With