New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation Problem: bash: yarn: command not found #601
Comments
Same here. Just for a test, doing |
Same here:
|
@micahasmith your guess about |
@moooji i would expect yarn to be on your $PATH in the first place, though. your issue looks different to mine |
@micahasmith I forgot to re-open the terminal. Yarn is now in my path, but I have the same problem: |
For now I just added |
Thanks for the report! I've just pushed a new version of Yarn to npm and the tarball release should still work. I'm going to leave this open in case anyone is running into anymore issues. To confirm the following install methods that were previously broken should now work: Tarball curl -o- -L https://yarnpkg.com/install.sh | bash npm $ npm install -g yarnpkg@0.15.1 Please keep this issue relevant, if you're still running into issues after following these instructions please comment. Please avoid redundant comments such as "me too" and use GitHub reactions. Thank you everyone! |
i had to add |
@kittens fixed :) thanks |
Installing via npm worked for me after the last update. |
installed via curl, had to edit .zshrc and remove the double quotes so the |
@syropian I've added an alert to the tarball installer that we've added something to your shells profile and which one we used so you can do it manually. |
@sillero Ah, I'm not a zsh user so wasn't aware. I've changed the installer to use |
@kittens $HOME works inside double quotes, same as removing the double quotes, both resolve to the home absolute path |
Confirmed, replacing |
@joshmanders To expand on this. You can either swap |
I had the same issue here. after installing via npm its now fine. |
in my case i had both a .bashrc (for whatever reason) and a .profile file in $HOME. maybe it should write the path to all shell configs it finds? |
Even though I was operating from the User Profile I had to still run In case that means anything to you all. |
Closing this issues. Feel free to ping back if you are still facing the problem. |
i just realized i had to install yarn first by following steps here https://yarnpkg.com/lang/en/docs/install/ |
I am having a problem has shown below .I am using a window machine |
You restart bash? |
|
I rosolved, thanks @kittens |
It works for me, Thanks a lot. |
STOP READING COMMENTS AND JUST INSTALL THE COMMAND PROVIDED ABOVE. THANK YOU! |
This worked appending the following to
Why does the above NOT work when it's in |
On Mac 10.13.6
On Mac 10.13.6 ( npm 6.9.0 ) , I've above entry but still getting error
I've installed yarn with command yarn installation path is |
Which operating system are you using:
macOS 10.12
Please describe the steps you took when trying to install Yarn and what went wrong:
I ran
curl -o- -L https://yarnpkg.com/install.sh | bash
.My path is as follows, which is strange:
I feel like there's a missing step with making sure bash/node is setup to respond to
.js
files on$PATH
that have#!/usr/bin/env node
, maybe?The text was updated successfully, but these errors were encountered: