Skip to content
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

can't uninstall yarn #5173

Closed
zentoLu opened this issue Jan 8, 2018 · 5 comments
Closed

can't uninstall yarn #5173

zentoLu opened this issue Jan 8, 2018 · 5 comments
Assignees
Labels

Comments

@zentoLu
Copy link

zentoLu commented Jan 8, 2018

**Which operating system are you using: win7

**Please describe the steps you took when trying to install Yarn and what went wrong:i forgot how i installed yarn , the version now is 0.24.4, i uninstalled it by npm uninstall -g yarn
and choco uninstall yarn , but on my window7 , it is still installed , i google for many methods to try to uninstall it , i also tried to install the msi again , reset my PC ,none helped
https://stackoverflow.com/questions/42334978/how-do-i-uninstall-yarn
also i tried all methods in this questions, is there any way to reinstall or uninstall yarn forcely?

@ghost ghost assigned Daniel15 Jan 8, 2018
@ghost ghost added the triaged label Jan 8, 2018
@zentoLu zentoLu closed this as completed Jan 8, 2018
@jims55555
Copy link

I have same issue. What was the resolution?

@pulpopaul
Copy link

I have the same issue, I couldn't uninstall yarn. I'm running Ubuntu 16.04.
I fixed it this way:
1- Run which yarn to find out the package behind the yarn command.
2- It turned out to be usr/bin/yarn.
3- I uninstalled the yarn command unistalling cmdtest, with sudo apt-get purge cmdtest as suggested here: #3189.
It seems there's also a conflict with Hadoop yarn, reported here: https://superuser.com/questions/1193406/hadoop-yarn-yarn-npm-name-conflict.
Hope this helps.

@Saksham010
Copy link

Saksham010 commented Aug 19, 2022

I ran which yarn which gave me the path: usr/bin/yarn. I went in and deleted yarn by: sudo rm yarn. Then reinstalled it with: sudo npm install --global yarn. Which worked for me

@kartonrad
Copy link

where yarn on windows bizzarly doesn't return anything, even though the command runs???

@kartonrad
Copy link

ah, you need to use where.exe yarn in Windows Powershell
I really despise powershell

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants