Skip to content

Instantly share code, notes, and snippets.

View mayraamaral's full-sized avatar
Probably coding right now

Mayra Amaral mayraamaral

Probably coding right now
View GitHub Profile
@mayraamaral
mayraamaral / cmdtest-error-while-installing-yarn.md
Last active January 6, 2020 02:26
Error while trying to install Yarn, it installed cmdtest instead FIXED

The way I could fix it was a little simple, but it coust me so many minutes to figure it out.
Here you go:

Instead of runnig the code as says the yarnpkg site, do:

curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list

Then run JUST the following code: