tsc - Where does Yarn add global binaries on Windows? -


i'm on windows 7, , tried install typescript yarn:

yarn global add typescript  success installed typescript@2.0.6 binaries:   - tsc   - tsserver done in 11.59s. 

after successful installation, type tsc in command line, find command not available.

yarn tsc yarn tsc v0.16.1 error command "tsc" not found. 

get config:

yarn config prefix c:\program files (x86)\nodist\bin 

i checked path: there's no tsc or tsserver exectuables. it?

it works now:

mkdir ~/yarn-global yarn config set prefix ~/yarn-global 

check with

yarn config prefix 

add ~/yarn-global path env var.


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -