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

Installation Guide leads to wrong yarn #968

Open
cawoodm opened this issue Jun 16, 2019 · 1 comment
Open

Installation Guide leads to wrong yarn #968

cawoodm opened this issue Jun 16, 2019 · 1 comment

Comments

@cawoodm
Copy link

cawoodm commented Jun 16, 2019

Following the official guide on Ubuntu 18.04 led to the "wrong" yarn being installed:
https://yarnpkg.com/lang/en/docs/install/#debian-stable

Executing sudo apt remove cmdtest before did not help. Apt-Get installs the wrong Yarn.

Following this guide worked:
https://linuxize.com/post/how-to-install-yarn-on-ubuntu-18-04/

The difference seems to be using "apt" instead of "apt-get":

sudo apt update
sudo apt install yarn
@Daniel15
Copy link
Member

Are you sure you ran apt-get update after adding the repo? apt and apt-get both use the same backend service so there shouldn't be a difference in how they behave. It's likely that the apt update is what helped, not just using apt vs apt-get.

Having said that, it's a good idea to update the site to use apt though.

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

No branches or pull requests

2 participants