Windows 10 tsc error TS5007: Cannot resolve referenced file: tsconfig.json

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.

removed that folder (“C:\Program Files (x86)\Microsoft SDKs\TypeScript”) and problem was fixed.

Yosef Sukianto has written 36 articles

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>