I'm on Windows 7, and I tried to install typescript
with yarn
:
yarn global add typescript
success Installed typescript@2.0.6 with binaries:
- tsc
- tsserver
Done in 11.59s.
After successful installation, I type tsc
in the command line, only to find that the command is not available.
yarn tsc
yarn tsc v0.16.1
error Command "tsc" not found.
Get config:
yarn config get prefix
C:\Program Files (x86)\Nodist\bin
I checked this path: there's no tsc
or tsserver
exectuables. Where is it?