help icon indicating copy to clipboard operation
help copied to clipboard

jupyter open blank page

Open pjnoreset opened this issue 5 years ago • 11 comments

When I open jupyter I obtain a blank page and in the google chrome console I get the next error:

Refused to execute script from '<URL>' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.

I have attached two images where you can see more data.

jupyter_error1 jupyter_error2

pjnoreset avatar Mar 10 '19 15:03 pjnoreset

I have literally the exact same problem. I've been in the process of setting up Python, so I hope it can be fixed soon.

LeggoMahEggo avatar Mar 12 '19 11:03 LeggoMahEggo

Me too, don't know how t fix

dyvol777 avatar Mar 14 '19 21:03 dyvol777

Refused to execute script from '<URL>' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.
VM32 tree:1 Refused to execute script from 'http://localhost:8888/static/components/es6-promise/promise.min.js?v=f004a16cb856e0ff11781d01ec5ca8fe' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.
VM32 tree:1 Refused to execute script from 'http://localhost:8888/static/components/preact/index.js?v=00a2fac73c670ce39ac53d26640eb542' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.
VM32 tree:1 Refused to execute script from 'http://localhost:8888/static/components/proptypes/index.js?v=c40890eb04df9811fcc4d47e53a29604' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.
VM32 tree:1 Refused to execute script from 'http://localhost:8888/static/components/preact-compat/index.js?v=aea8f6660e54b18ace8d84a9b9654c1c' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.
VM32 tree:1 Refused to execute script from 'http://localhost:8888/static/components/requirejs/require.js?v=951f856e81496aaeec2e71a1c2c0d51f' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.
VM32 tree:1 Refused to execute script from 'http://localhost:8888/static/tree/js/main.min.js?v=ab9f3a6cf8347df927864d58cfad7931' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.
VM32 tree:24 Uncaught ReferenceError: require is not defined
    at VM32 tree:24
2tree:1 Unchecked runtime.lastError: The message port closed before a response was received.

dyvol777 avatar Mar 14 '19 21:03 dyvol777

For me (#545), this issue was related to https://github.com/jupyter/notebook/issues/4469. The PR on https://github.com/jupyter/notebook/pull/4468 solves the issue. You look for the file notebookapp.py and add the new line.

EloyRD avatar Mar 15 '19 08:03 EloyRD

I had a similar issue. The solution in https://github.com/jupyter/notebook/issues/4467 worked for me (pip uninstall notebook, pip install notebook==5.7.5)

catajara avatar Mar 15 '19 16:03 catajara

me to, so I have to use "jupyter lab", but it is ok

haungo2109 avatar Mar 16 '19 15:03 haungo2109

I had a similar issue. The solution in jupyter/notebook#4467 worked for me (pip uninstall notebook, pip install notebook==5.7.5)

This works for me. I'm curious why this happens.

machsix avatar Mar 19 '19 05:03 machsix

I have the same problem when update Notebook to version 5.7.6 on conda. I have to reduce the Notebook's version to 5.7.4

Khoa-NT avatar Mar 20 '19 16:03 Khoa-NT

also solved by reducing the notebook's version from 5.7.6 to 5.7.4

duzeng avatar Mar 24 '19 07:03 duzeng

I try both methods, but don't work.

After I clear the cache, both methods work. So plz clean the cookie after reducing the version or add the line in notebookapp.py

mhh0318 avatar Mar 24 '19 12:03 mhh0318

also solved by reducing the notebook's version from 5.7.6 to 5.7.4

Same for me!

mwentzWW avatar Mar 25 '19 18:03 mwentzWW