Slim Application Error - installation of Shopware 6 on local computer

Where did you get this error message?

There is a script inside the VM that handles the installation, you need to connect via putty to run it. As described here: Shopware 6 - Setting Up a Local Environment with Virtual Box