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

Yarn does not install correctly when 'wrong version' found #346

Open
geekwisdom opened this issue Sep 23, 2021 · 1 comment
Open

Yarn does not install correctly when 'wrong version' found #346

geekwisdom opened this issue Sep 23, 2021 · 1 comment

Comments

@geekwisdom
Copy link

In the install.sh file, if yarn is not installed (ie: not part of sources /) the batch file adds it with the command

echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list

But it does not actually try to install it. So the command under it will fail because only adding the package to the sources will
not actually install it.

yarn --version 2>/dev/null && yarn --help | grep checksums >/dev/null # Check it worked (will error if not)

Need to add something like

apt-get install -Y yarn

to the install.sh file to ensure it gets properly upgraded!

@mitra42
Copy link
Collaborator

mitra42 commented Sep 24, 2021

Good catch - Iv'e fixed it.

@ghost ghost mentioned this issue Feb 6, 2022
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