question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug]: Installing Yarn 2

See original GitHub issue

Describe the bug Even after running npm install -g yarn@berry it still shows as version 1.21.1

I also tried running yarn set version but no luck.

Environment if relevant (please complete the following information):

  • OS: [macOS Catalina 10.15.2]
  • Node version [v12.14.1]
  • Yarn version [1.21.1]

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
JamesVanWazacommented, Jun 17, 2020

I did which yarn then it showed the path then I removed the path and run brew install yarn which worked.

1reaction
JamesVanWazacommented, Jun 16, 2020

@juanpicado @DRoet after trying multiple times, I was able to get the right version of 1.22.4

Much appreciated.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error Codes | Yarn - Package Manager
This informational message occurs when Yarn wishes to let you know that a package will need to be built for the installation to...
Read more >
How to fix the Yarn Installation Error "The term yarn is not ...
This is a snippet from my previous video hence there is not intro and outro#YarnInstallation #YarnErrorHow to fix yarn error while ...
Read more >
Install Yarn [ UPDATED 2022 ] - YouTube
I have previously created video on how to install yarn where I have ... we can switch yarn version 2 or yarn berry...
Read more >
How to Install Yarn in MacOs/Ubuntu/Windows?
How to install Yarn in MacOs/Ubuntu/Windows? installing yarn using npm on macOS. Method 2: Using HomeBrew Package Manager: brew install yarn.
Read more >
yarn: get "Internal Error: Error when performing the request ...
Problem. I need to use yarn to install some dependencies for a project. Followed the official installation tutorial at yarn website.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found