Ok I’ve solved it!
After hours of searching I found a guy who recommended removing
<meta http-equiv="Content-Security-Policy" content="default-src *; script-src 'self' 'unsafe-inline' 'unsafe-eval' *; style-src 'self' 'unsafe-inline' *">
from the index file. FOR SOME REASON IT FIXED THE ISSUE. I’m not sure why.