Problems copying Laravel Sail project from fresh install into existing project

Today, I wanted to get a fresh Laravel 8 install on a project I started recently, basically restarting, as I needed the teams functionality of Jetstream and you can’t add the teams functionality into a project which already has Jetstream. So, I tried creating a fresh Laravel install and copying the files over to my project but for some reason the MySQL container didn’t get installed, which was confusing at first. Anyway, I ended up deleting the ‘vendor’ folder and installing everything a new with composer and then running:

php artisan sail:install

then I run

./vendor/bin/sail build --no-cache

and then just

./vendor/bin/sail up

this time MySQL worked and I could run my migrations.

I am sharing this in case someone else encounters a similar problem.