How Do I Uninstall Yarn

前端 未结 19 1163
醉话见心
醉话见心 2020-12-22 17:45

How can I uninstall yarn? I\'ve used it for a react-native project and now whenever I move the code out of index.ios.js or index.android.js it thro

相关标签:
19条回答
  • 2020-12-22 18:35

    Try "npm uninstall -g yarnpkg"(global) or "npm uninstall yarnpkg"(local) if you installed it with npm.
    That's what worked for me.
    If that still doesn't work and you installed it with npm,
    do "npm list -g" to check if you installed it globally or "npm list" if you installed it locally.
    Hope that helps anyone having this problem. :D

    EDIT: Found something if you installed yarn with .msi executable you have to install it the normal windows way.

    0 讨论(0)
提交回复
热议问题