-
Notifications
You must be signed in to change notification settings - Fork 574
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Failed to load module script #182
Comments
@captainsikay sorry for late reply. Unfortunately I can't seem to reproduce it. I've tested it in Firefox 69 in Manjaro and Windows, also in Chrome 77 and Firefox 69 in Windows. One of possible reason for this issue is the browser did MIME sniffing on its own, which in some case will mark the JS file as plain text. To fix this, I've added If you don'y mind, could you check it out ? Thanks ! |
Hey, I'm getting hit by this too. I believe what's happening on Windows is that the mimeType being returned is A quick Google search shows another Github repo getting hit by this (back in 2018): labstack/echo#1038 (comment) Especially in their comment it seems that Windows returns I believe this is where the mimeType is being set Very odd lol. I'll try to test with a newer version of Golang. |
I am facing this issue again. I downloaded the binary "shiori-windows-amd64.exe" for v1.5.0 on Windows 10 and just fired "shiori serve" and getting blank page with |
I have this problem in chrome and firefox on windows |
Still have this problem, when installed from master. Via |
While trying to start the UI with the serve command I get the following error in the files
Failed to load module script: The server responded with a non-JavaScript MIME type of "text/plain". Strict MIME type checking is enforced for module scripts per HTML spec.
The login works fine, after that I get a blank page with only the logout button.
I use Windows 10 with latest chrome (also tried latest firefox) and latest version (as of 26th September) of shiori-windows-amd64.exe from the releases page.
The text was updated successfully, but these errors were encountered: