Using kuberneties with dash, getting unexpected token '<' and dashrenderer is not defined

locally the project runs without a problem.
on my server, it prints the errors in the picture and the page has a Loading… text.

Any idea how I can solve the problem?