Please find below attached screenshot
The problem is caused due to the permission issue on the static files.
To fix this issue;
app/etc/env.php and set
'MAGE_MODE' => 'developer',.
2) Go to file path
3) Check whether .htaccess file is available (Press Ctrl+H to view the hidden file).
4) If not available, based on the Magento version, get .htaccess file in the file path
pub/static/ and copy into your file structure.
5) Finally, clear your browser and Magento cache and check it. (optionally you can run the below command to clear Magento Cache)
php bin/magento cache:flush
P.S: If you still encounter the same issue after trying above steps, copy files under
pub/static to some other location in your PC and delete all files under
pub/static. Clean Magento/Browser cache again and try back.
Go to your magento 2 installation directory through terminal and run these commands.
icacls "C:\PathToMagentoInstallationRoot\" /grant Users:F icacls "C:\PathToMagentoInstallationRoot\pub\" /grant Users:F icacls "C:\PathToMagentoInstallationRoot\generated\" /grant Users:F icacls "C:\PathToMagentoInstallationRoot\var\*" /grant Users:F php bin/magento deploy:mode:set developer php bin/magento cache:clean php bin/magento cache:flush del C:\PathToMagentoInstallationRoot\generated\* php bin/magento setup:di:compile