PigRider Blogs

Sign In
HTML CSS Javascript Ruby on Rails C++ Java Python SQL Git Linux Others All

How to make Yarn work smoothly in Windows

[Author: Dingyu]   [Thu, 2017-06-15, 12:06]   [810 views]


This article is for anyone installed Yarn by using .msi file in Windows.

You may got errors like:
readlink: command not found
winpty: command not found

My Solution: After I installed the latest Git (version 2.13.1) and used Git Bash, all those errors were gone.

Then, when you use yarn init command in the Git Bash, you may got errors like:
"Can't answer a question unless a user TTY"

My Solution: I used Git\bin\sh.exe instead of Git\git-bash.exe, then this error was gone.