-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The script has an unsupported MIME type ('text/html') #658
Comments
Can you please share your browser version and OS? |
browser version: Version 53.0.2785.116 (64-bit) |
Could you please show a screenshot? Thanks. |
just created a new project from scratch, still getting this error. screenshot here: did 'npm uninstall -g create-react-app' and reinstalled it globally, made a test app still same error. |
Interesting. Maybe some transitive dependency is doing something funny. |
finally found the solution after days of 'googling' run for the record, the webpack version i had installed globally is webpack 1.13.2 |
Why would a global |
Closing as it’s not clear how to reproduce this, and original author has resolved the problem. |
i saw this message too. (chrome) |
I've been running in the same issue. The local version is [email protected]. Im running Windows 10, Chrome 56.0.2906.0 dev (64-bit). At this point I'm clueless on what to do. |
I got this issue after running It appears the helmet middleware was interfering with the client side caching, so if you have this issue on a node server, it may be worth checking this. |
yes, I got this issue too, when I build my app and run it in a server side render application in express, the chrome show those two errors |
Maybe I'm wrong, the error is about service worker has been register for localhost:3000. Can you open Chrome Dev Tools -> Application -> Service Worker and see if you have a service worker has been registered? If yes click unregister and refresh the page again. |
@n3tr thanks, yes, you are right, I remember I test some app before and register the service work, now as your step, I unregister the service work and it goes fine |
Thanks, n3tr's trick definitely solves the problem 👍 |
testing my app on firebase hosting still produces the same error.. |
If you have this problem and this discussion doesn't help please file a new issue and fill the template. Provide a project reproducing this. Further +1's are not helpful so I am locking this. |
Hi I've written a small project with create-react-app, it runs in the browser 'http://localhost:3000/' with 'npm start' but i'm seeing these two errors in the console:
this is my package.json
The text was updated successfully, but these errors were encountered: