Expected a JavaScript module script but the server responded with a MIME type of "application/octet-stream". Strict MIME type checking is enforced for module scripts per HTML spec

I can see multiple questions similar to mine but even I tried all i am missing something.

This is my repo-url - > GitHub - Karan-S-0406/rkv-travels

I am getting this error in console on my deployed url
index.jsx:1 Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of “application/octet-stream”. Strict MIME type checking is enforced for module scripts per HTML spec.

This is how my build and deploy looks

Any help would be appreciated

@Karan-S The issue is just that you’ve not set the Publish directory.

So your build is running, but by default it is then publishing the root of the repository.

Your repository contains a source index.html file at the root, and that’s what you’re then loading.

The browser can’t handle the reference to /src/index.jsx, it needs the build output.

Your project builds into a folder called /build/, which you’ll see when you run it locally…

So set your ‘Publish directory’ to build