Issue
I tried compiling TypeScript with the tsc command, but I got this error:
tsc : The term 'tsc' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Despite having TS installed globally through NPM. How do I get VS Code to transpile TS correctly?
Solution
Turns out that I accidentally removed some Node dependencies while doing some spring cleaning... To solve this, I just reinstalled Node and then used npm to reinstall TS globally.
Answered By - Tespy
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.