0

I have got an error when I run: jupyter lab build in my linux. The error log info is as follows: enter image description here

It seems caused by the nodejs version. I tried to run conda install nodejs, but it says the nodejs is already installed. How can I fix this problem and success to build jupyter lab? Thanks a lot for checking!

Jian ZUO
  • 35
  • 4
  • 1
    check if this one is helpful pal https://stackoverflow.com/questions/60271242/jupyter-labs-runtimeerror-npm-dependencies-failed-to-install-when-building – Tamil Selvan Dec 13 '21 at 10:48
  • Why are you trying to build JupyterLab in the first place? Is it because of an extension you try to install? If so, please check if they have a prebuilt version available - most extensions do not require the build step in JupyterLab 3 anymore. – krassowski Dec 13 '21 at 11:57
  • Thank you for the reply! Recently I update jupyterlab and when I open it, it pops up a window saying require the build. It says: [@jupyterlab/application changed from ~3.1.17 to ~3.2.5 @jupyterlab/application-extension changed from ~3.1.17 to ~3.2.5 @jupyterlab/apputils-extension changed from ~3.1.18 to ~3.2.5 @jupyterlab/celltags-extension changed from ~3.1.17 to ~3.2.5 @jupyterlab/codemirror-extension changed from ~3.1.17 to ~3.2.5.] There are several messages like this, and I just put some items here. – Jian ZUO Dec 13 '21 at 12:59
  • The message is incorrect - the rebuild should not be required from the end user after upgrade, unless you manually re-built it before. I would uninstall jupyterlab and install it afresh (maybe even in a new virtual environment). – krassowski Dec 13 '21 at 22:49
  • Thank you! It is wired and now every time I open Jupyterlab, it will first show this message window ask me to rebuild and it never succeeds. – Jian ZUO Dec 14 '21 at 00:50

0 Answers0