About import module

I want to use one of modules in folder react. But when i import module from folder ‘react’ in file index.html, i get error:
Failed to load module script: Expected a js module script but the server responded with a MIME type of “text/html”. Strict MIME type checking is enforced for module scripts per HTML spec.