Question

After installing Magento 2.3.1 with sample data on my localhost, When I am trying to open the home page it shows blank. My console contains an error as shown in the image. Please help.. Thanks!

error

Was it helpful?

Solution

please run below commands:

rm -rf generated/* var/cache/* pub/static/*

php bin/magento s:d:c

php bin/magento s:up && php bin/magento s:s:d -f

php bin/magrnto c:f

and check

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top