のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

jupyter notebookを開くと、白いBlankの画面になる。開かない。

  • Chromeで、シークレットモードで開いたら、開けた。
  • edgeでは、普通に開けた。

text/plainが影響しているらしい。

Chromeで、 CTRL+Shift+Rを白いBlankの画面で行ったら、 正常に開けるようになった。

Refused to execute script from '<URL>' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.
VM25 tree:1 Refused to execute script from
    'http://localhost:8889/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.
VM25 tree:1 Refused to execute script from
    'http://localhost:8889/static/components/preact/index.js?v=00a2fac73c670ce39ac53d26640eb542' 
    because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.
VM25 tree:1 Refused to execute script from 
    'http://localhost:8889/static/components/proptypes/index.js?v=c40890eb04df9811fcc4d47e53a29604' 
    because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.
VM25 tree:1 Refused to execute script from 
    'http://localhost:8889/static/components/preact-compat/index.js?v=aea8f6660e54b18ace8d84a9b9654c1c' 
    because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.
VM25 tree:1 Refused to execute script from 
    'http://localhost:8889/static/components/requirejs/require.js?v=951f856e81496aaeec2e71a1c2c0d51f' 
    because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.

VM25 tree:24 Uncaught ReferenceError: require is not defined
    at VM25 tree:24

namespace.js:29 Uncaught ReferenceError: define is not defined
    at namespace.js:29
tree:1 Unchecked runtime.lastError: The message port closed before a response was received.

When opening a notebook file, the browser displays a blank screen · Issue #1627 · jupyter/notebook · GitHub

stackoverflow.com

stackoverflow.com