Skip to content

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

@geekwisdom

Description

@geekwisdom

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions