Deployed my react app as static, site is live but page is white

Dear Team,

I have this error: Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of “binary/octet-stream”. Strict MIME type checking is enforced for module scripts per HTML spec.

I did the rule of /* index.html redirect

my react app is Vite, not created it with create react app.

site is:

screen shots are added.

BR. Tal

Hi there,

It looks like your index.html file tries to load and return a .jsx file, which is not being recognized by the browser as a valid MIME type (like HTML, JS, etc.). If your React app requires server-side processing it will need to be deployed as a Web Service rather than a Static Site.

Our React Static Site guide may offer some guidance here as well:


Render Support Engineer, MT (UTC-6, UTC-7 in Winter)