How to fix this preview error?

Today i was trying to preview my project but all i got is this black preview. So i opened the inspect and saw these errors: