admin管理员组文章数量:1415139
I don't know why my yarn is appearing all these problems. I could not uninstall it. Every time I uninstall it and reinstall , it always kind of taking what I deleted previously .How can I avoid all these errors and get a workable yarn?
Share Improve this question asked Dec 23, 2021 at 9:16 CopperClericCopperCleric 832 silver badges8 bronze badges 4I don't know why my yarn is appearing all these problems. I could not uninstall it. Every time I uninstall it and reinstall , it always kind of taking what I deleted previously .How can I avoid all these errors and get a workable yarn?
- What mand do you run when you get these errors? Looks like you didn't install your dependencies... – Jordi Nebot Commented Dec 23, 2021 at 9:18
-
Did you try
npm uninstall -g yarn
and then removing any existing yarn folders? -> on windows: Program Files (x86)\Yarn – iLuvLogix Commented Dec 23, 2021 at 9:19 - Jordi I run just yarn. When I first use yarn, it did e with a dependencies. After that,I accidentally deleted part of the files and it bees like this. – CopperCleric Commented Dec 23, 2021 at 9:23
- iLuvLogix yeah bro I tried that.However, when I try to reinstall yarn , it is just getting back what I have deleted earlier on. – CopperCleric Commented Dec 23, 2021 at 9:23
1 Answer
Reset to default 4You can simply run
npm uninstall -g yarn to uninstall the yarn from your dependencies
and then run
npm cache clean --force
to clean the cache and then try
本文标签: javascripthow can I delete yarn completelyStack Overflow
版权声明:本文标题:javascript - how can I delete yarn completely? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745200797a2647359.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论