Mac OS 10.13.6
How did I install yarn
npm install --global yarn
yarn installation path is /Users/useName/.config/yarn
Then ran below command
yarn create react-app app-name
This worked well, but when I'm trying to run yarn add package_name, it's throwing error
bash: yarn: command not found
The weird thing, after closing and opening terminal again under which I had globally ( ? ) installed yarn, the yarn command is not found.
Just re- install using "brew install yarn" and that should solve it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With