I have installed Magento 2.2.4
.
After installation, it was good, loading pages as expected.
But, when I setup:di:compile, it gives blank page on frontend and admin as well.
Once I delete generated folder and load page, it will again ok, and no blank page.
I checked it on Ubuntu, it works fine.
Best Answer
I am also facing the same issue for me a temporary fix is force deploying developer mode (even if you are already on it or not) i.e. Executing the following command after di compile
It is a temporary / quick fix , i am still looking into issue will update answer if find the root cause