Setting up TypeScript on my computer has been a challenge. Despite trying various solutions I found online, nothing seems to be working for me.
Here is a summary of what I have attempted:
1) I downloaded TypeScript for VS2015
from the Microsoft website and installed it. This resulted in the creation of two folders on my system:
- C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.7
- C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.8
2) Next, I launched my ASP.NET 5 project in Visual Studio 2015 and tried running the command tsc --version
within the VS Command Prompt. Unfortunately, this triggered an error message.
3) In an attempt to resolve the issue, I executed the command npm install -g typescript
from the VS Command prompt within my project directory. However, the error persisted.
4) I also modified my system variables by adding
C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.8\
to the Path
variables. Despite this adjustment, the error message remained unchanged.
I have exhausted all resources available online but haven't been successful in resolving this matter. Any assistance would be greatly appreciated.
P.S. After each step, I restarted my explorer.exe
to ensure that all variables were properly reloaded.