Skip to content
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

Chrome does not load the front-end #17

Open
giuspataro opened this issue Apr 4, 2024 · 1 comment
Open

Chrome does not load the front-end #17

giuspataro opened this issue Apr 4, 2024 · 1 comment

Comments

@giuspataro
Copy link

I installed IOPaint using python, and when I tried to load the application I just got a white screen. Then, I downloaded the Windows 1-click install, also for supporting the project, and I encountered the same issue.

I basically get this problem from Chrome Dev Tools:

Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/plain". Strict MIME type checking is enforced for module scripts per HTML spec.

I tried both on chrome and Firefox, without any positive effect

Is there a way to have the application?

@giuspataro
Copy link
Author

Solved changing this:

You have to change Registry settings for two keys. Open the Registry Editor and

  • Go to Computer\HKEY_CLASSES_ROOT.js and change Content Type to application/javascript

  • Go to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Classes.js and change Content Type to application/javascript.

Then just restart your shell or jupyter kernel, and the app should start working on localhost. Make sure you force reload the app (Ctrl + Shift + R) to get rid of cached contents.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant