Open adamgit opened 4 years ago
(NB the main install instructions are missing the pip command for nodejs - inconsistent with the first half of the page)
This is because pip install nodejs
and conda install nodejs
do different things. pip install nodejs
will install this outdated python package: https://github.com/markfinger/python-nodejs
conda on the other hand manages more than just python installs, so conda install nodejs
will install https://nodejs.org/en/ which is necessary for jupyterlab extensions to work. You can also install nodejs via the instructions on the nodejs website.
Can you paste the output from running jupyter lab build
? As well can you check if there is any output in the javascript console (https://balsamiq.com/support/faqs/browserconsole/)?
Another important troubleshooting step is to refresh the browser page after you run jupyterlab build.
I followed all the install instructions as per current docs:
(NB the main install instructions are missing the pip command for nodejs - inconsistent with the first half of the page)
~$ pip3 install ipywidgets
Requirement already satisfied: ipywidgets in /usr/lib/python3/dist-packages (6.0.0)
~$ jupyter labextension list
~$ pip3 install nodejs
After restarting jupyter-lab and running a simple example from the docs:
It fails with:
NB: I disabled all ad-blockers and globally enabled all javascript.