Closed Gambitboy closed 4 months ago
Yarn installed via NPM or Homebrew installs v2 instead of v1
Running the following commands:
npm install -g yarn or brew install yarn
npm install -g yarn
brew install yarn
When I run: yarn --version
yarn --version
I get version 3.6.4
3.6.4
I fixed it by running the following command:
rm -rf ~/.yarn*
Suggested by someone on stackoverflow. Might be useful here. https://stackoverflow.com/a/70978316/11701253
Yarn installed via NPM or Homebrew installs v2 instead of v1
Running the following commands:
npm install -g yarn
orbrew install yarn
When I run:
yarn --version
I get version
3.6.4