magento2.2.2 – Magento 2.2.2 Not Working After setup:di:compile

magento2magento2.2.2

I'm working in the wamp server in window 10 and run the setup:di:compile in the shell then the site is display blank.

i also try this method – magento 2 not working after the command bin/magento setup:di:compile.

but that also not worked for me.

Best Answer

First delete below folders : go to root directory

pub\static

var\cache

var\page_cache

var\view_preprocessed

var\generation

Now run below commands

php bin/magento setup:static-content:deploy

php bin/magento indexer:reindex

now check it will work !!