I have this popup presented:
I tried to install the proper tsc by following commands in cmd:
npm install --g --save-dev [email protected]
and
npm install --save-dev [email protected]
but it didn't help, the popup still shows on VS Code startup.
It turns out the problem was that I also had C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;
Simply removing (delete the folder 1.0) that from my path sorted the issue.
When I run
tsc --version
it now shows me 2.6.2
Open the command prompt and type where tsc
This will give you a list of typescript versions your PATH and global settings are pointing to.
Go to the path: C:\xxxxx\Microsoft SDKs\TypeScript
then delete the older version folder except latest one.
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