I've had it happen due to my domain configuration, not having a www in the github pages settings, with a directory error during build in windows and another time when I inadvertently opened a second instance of a site so that it was calling for site assets from a separate port.