Have you looked in service center for any detailed logs? If there is a problem, it may not show on the publish - but could be in the service center logs. If not that, it sounds like you have an on-premise installation. I would also check both platform logs and windows logs. If the machine is running out of resources while it’s compiling, that should be indicated.
Stacey