Magento – Magento 2.3 issue admin page not rendering

installationmagento2.3

I tried to install Magento New Release 2.3 , installed successfully
but here Magento Admin Login Page not rendering even Home page working fine. Some error are i am
mentioning below please if any solution is please guide me.

Here generated folder deleted,cache,upgrade,deploy,compile everything
is done but no solution.

enter image description here

Best Answer

It's causing you problem due to you are on windows.

Give a try to below workaround.

Find : /vendor/magento/framework/View/Element/Template/File/Validator.php:139

find : 
foreach ($directories as $directory) {
    if (0 === strpos($realPath, $directory)) {
        return true;
    }
}

Replace with:
foreach ($directories as $directory) {
    $realDirectory = $this->fileDriver->getRealPath($directory);
    // and replace `$directory` with `$realDirectory`
    if (0 === strpos($realPath, $realDirectory)) {
        return true;
    }
}

UPDATE :

https://github.com/magento/magento2/issues/19480#issue-386162790

Its working for me too.

Related Topic