Error on plesk for a project using ViteJS

Viewed 22

I tried to deploy a ReactJS project using ViteJS on plesk.

However, when I try to deploy the one with git everything goes well except that I have a blank page that appears.

And on the browser I have this error in the console "Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "". Strict MIME type checking is enforced for module scripts per HTML spec."

Where could the problem come from? I can't find it.

Edit

Just a bad config on plesk in the NodeJS part.

0 Answers
Related