Published on

[Solved] Error: There are no scenarios; must have at least one.


Running into the following error when trying to run yarn via the yarn command on Ubuntu:

00h00m00s 0/0: : ERROR: There are no scenarios; must have at least one.

This error is encounter after installing cmdtest via the command: sudo apt install cmdtest


This error is usually indictive of yarn not being properly installed. Run the following commands and see if running yarn is successfully afterwards:

sudo apt remove cmdtest
sudo apt install npm
sudo npm install -g yarn


Thanks for reading this blog post!

If you have any questions or concerns please feel free to post a comment in this post and I will get back to you when I find the time.

If you found this article helpful please share it and make sure to follow me on Twitter and GitHub, connect with me on LinkedIn and subscribe to my YouTube channel.