yarnpkg / yarn

The 1.x line is frozen - features and bugfixes now happen on https://github.com/yarnpkg/berry
https://classic.yarnpkg.com
Other
41.44k stars 2.73k forks source link

Installation Problem: ['yarn' is not recognized as an internal or external command, operable program or batch file.] #5758

Open alaminmishu opened 6 years ago

alaminmishu commented 6 years ago

windows 7 SP1 64bit

'yarn' is not recognized as an internal or external command, operable program or batch file. error shows in hyper terminal while using administrative privilege

BYK commented 6 years ago

This is because you haven't configured your PATH environment variable to have Yarn's installation path.

If you provide more information about how you installed Yarn, people may help.

zinara commented 6 years ago

After installing yarn and you have the problem of not seeing it in your git bash. refresh your computer and your problem will be resolved.

AntonUrakov commented 6 years ago

I had the same problem. Yarn was installed in Program Files, and registered in Local. Edit the Pach variable

LuisGVV commented 5 years ago

Same boat here, installed on windows 10 and yarn isn't correctly set to PATH after the installation from the .msi download in the official site

craxal commented 5 years ago

I used the .MSI installer for 1.17.3 on Windows 10. I checked my PATH variable (in a PowerShell prompt), and yarn is definitely not there.

bofcarbon1 commented 4 years ago

I don't use Yarn and it was suggested in a tutorial for React Native Mobile and GraphQL. Node and node package manager have always been reliable to me. I guess I can build without Yarn. Too bad because I like using alternatives. If the project becomes spend 2 days to get the package manager to work I'm out.