I tried to install Yarn and when I used the yarn command I got:
yarn
00h00m00s 0/0: : ERROR: There are no scenarios; must have at least one.
The real name you should use when installing is yarnpkg
sudo apt install yarnpkg
That is the solution.