New installation on XAMPP - styles not loading

I’m trying to install Shopware 6.4.17.2 on XAMPP with Php 8.1 and after running composer install and navigating to http://10.0.0.3/shopware/public/ it redirects to http://10.0.0.3/shopware/public/installer but the stylesheets are not loading. In the page source an error says:

No route found for http://10.0.0.3/shopware/public/bundles/installer/assets/styles/style.css

Is it because I’m trying to install in the sub-folder shopware?

Your IP should point to the shopware/public/ folder, not to your web root.

In your case, http://10.0.0.3/ should be the URL to access shopware

I’ve setup a virtualhost shopware.local pointing to shopware/public/ restarted Apache and refreshed the page but no difference, stylesheets still not loading.

Then if I click next I get the error:

Shopware\Core\Framework\Util\MemorySizeCalculator::convertToBytes(): Return value must be of type int, float returned

Check if CSS is loaded in HTML head of the page and if it is the right path which is loaded.