This happened to me, but uninstalling and re-installing fixed it: see below.

I also got a blank page with the same "exports is not defined" error
after upgrading jupyter to 6.4.5-3. Next, I uninstalled the debian
package and installed jupyter from pip:
  pip3 install jupyter
... and still had the same problem. So, I removed the pip version
(`pip3 uninstall jupyter`) and re-installed it from debian... and now
it works. Here's the versions of packages I have now:
```
$ apt list --installed | grep jupyter

jupyter-core/unstable,now 4.9.1-1 all [installed,automatic]
jupyter-nbextension-jupyter-js-widgets/unstable,now 6.0.0-8 all
[installed,automatic]
jupyter-notebook/unstable,now 6.4.5-3 all [installed]
python3-jupyter-client/unstable,now 7.1.0-1 all [installed,automatic]
python3-jupyter-core/unstable,now 4.9.1-1 all [installed,automatic]
python3-jupyterlab-pygments/unstable,now 0.1.2-8 all [installed,automatic]
```
and here are the versions of all the packages that got installed when
I re-installed jupyter-notebook:
```
jupyter-core/unstable,now 4.9.1-1 all [installed,automatic]
jupyter-nbextension-jupyter-js-widgets/unstable,now 6.0.0-8 all
[installed,automatic]
libjs-backbone/unstable,now 1.4.0~dfsg+~1.4.5-2 all [installed,automatic]
libjs-bootstrap-tour/unstable,now 0.12.0+dfsg-3 all [installed,automatic]
libjs-codemirror/unstable,now 5.63.3+~cs5.83.9-1 all [installed,automatic]
libjs-es6-promise/unstable,now 4.2.8-9 all [installed,automatic]
libjs-jed/unstable,now 1.1.1-3 all [installed,automatic]
libjs-jquery-typeahead/unstable,now 2.11.0+dfsg1-3 all [installed,automatic]
libjs-marked/unstable,now 4.0.9+ds+~4.0.1-2 all [installed,automatic]
libjs-moment/unstable,now 2.29.1+ds-3 all [installed,automatic]
libjs-requirejs-text/unstable,now 2.0.12-1.1 all [installed,automatic]
libjs-requirejs/unstable,now 2.3.6+ds-1 all [installed,automatic]
libjs-text-encoding/unstable,now 0.7.0-4 all [installed,automatic]
libjs-xterm/unstable,now 3.8.1+~cs0.9.0-1 all [installed,automatic]
node-jed/unstable,now 1.1.1-3 all [installed,automatic]
python3-argon2/unstable,now 21.1.0-1+b1 amd64 [installed,automatic]
python3-bleach/unstable,now 4.1.0-1 all [installed,automatic]
python3-entrypoints/unstable,now 0.3-10 all [installed,automatic]
python3-ipykernel/unstable,now 6.6.1-1 all [installed,automatic]
python3-ipywidgets/unstable,now 6.0.0-8 all [installed,automatic]
python3-jupyter-client/unstable,now 7.1.0-1 all [installed,automatic]
python3-jupyterlab-pygments/unstable,now 0.1.2-8 all [installed,automatic]
python3-nbclient/unstable,now 0.5.6-2 all [installed,automatic]
python3-nbconvert/unstable,now 6.3.0-1 all [installed,automatic]
python3-nest-asyncio/unstable,now 1.5.4-1 all [installed,automatic]
python3-notebook/unstable,now 6.4.5-3 all [installed,automatic]
python3-pandocfilters/unstable,now 1.5.0-1 all [installed,automatic]
python3-prometheus-client/unstable,now 0.9.0-1 all [installed,automatic]
python3-send2trash/unstable,now 1.6.0~b1+git20210122.2eb3242-1 all
[installed,automatic]
python3-terminado/unstable,now 0.12.1-1 all [installed,automatic]
python3-testpath/unstable,now 0.5.0+dfsg-1 all [installed,automatic]
python3-widgetsnbextension/unstable,now 6.0.0-8 all [installed,automatic]
python3-zmq/unstable,now 22.3.0-1+b1 amd64 [installed,automatic]
```

Hope this helps, and let me know if I can provide more information.

- peter

> I can confirm I get a JS error upon starting 'jupyter notebook' from the
> CLI using either Firefox:
>
> Uncaught ReferenceError: exports is not defined
>     <anonymous> 
> http://localhost:8888/static/tree/js/main.min.js?v=1165e50a1bd56de1d3cb2eb1f607c410d26e4dc418d1e016a4a3721ca5d697af4ef59e61b3be7082890269c3728083992695ad6156881a27d4b45d88802a4e8b:13852

Reply via email to