I just installed Magento 2.2.8 and it throws error in a home page

[![enter image description here][1]][1]


then I ran following commands

    php -dmemory_limit=6G bin/magento setup:static-content:deploy -f
    php bin/magento cache:clean

But it nothing changed how to solved this error ? why magento 2.2.8 not taking pub/static path for images,css and js files ?


  [1]: https://i.sstatic.net/RkiTn.jpg