I have just installed Magento 2.2.8 and it throws an error in aon home page
then I ran following commands
php -dmemory_limit=6G bin/magento setup:static-content:deploy -f
php bin/magento cache:clean
But its nothing changed how to solved this error? why Magento 2.2.8 does not taking pub/static path for images,css and js files?