31

I'm seeing this error in the terminal: "Could not determine jupyterlab build status without nodejs". Even when latest version of nodejs is installed on my PC.

Please guide what should I do?

9 Answers 9

12

I ran into a similar issue this morning and ended up here. The diagnostic message appears to be harmless:

[W 07:35:51.998 LabApp] Could not determine jupyterlab build status without nodejs

However, the way I resolved it for my configuration (Windows 10, Anaconda distribution of Python 3.7) was to download NodeJS from the source. Choose the LTS (Long Term Support) version of Node.js rather than the "Current with the latest features" edition.

Next, ensure the node executable is in the search path. On Windows, hold the Windows key and Break. Click on Advanced System Settings -> Environment Variables -> System Variables. Double click PATH to edit. Click OK until you're out.

In a new command window, run:

jupyter lab

You're looking for something like this in the output:

[I 07:16:26.721 LabApp] Node v10.15.3
3
  • 1
    best answer for sure, thanks for the full explanation and fix
    – MaxPi
    Mar 30, 2021 at 11:06
  • Any idea how to ensure it picks up in a new environment. Since path returns node when no environment is activated, but when I try after activating an environment it doesn't return node path Jul 25, 2021 at 6:26
  • @Eswar Chitirala: activate the environment and then run conda: conda install -c conda-forge nodejs Nov 9, 2021 at 10:09
8

On Unbuntu 20.04, just activate the environment and install by conda:

conda install -c conda-forge nodejs

3

Try the command below, follow through the prompt and see if it helps in your issue.

jupyter lab --debug

You can check your installation of npm or nodes by using

node -v
npm -v
1

FWIW, I got the same error message, on Win10, and just restarted the virtual environment, restarted jupyter lab and have not had the error since (several days). Doesnt help of course if there is an underlying issue:)

0

For Mac OS/Windows: install LTS version of Node.js from here and restart jupyter lab.

0

I installed it from source but it looks like a version had installed on conda that was old, which was causing this issue. If you've installed nodejs with conda (or something similar) you will get an outdated version, uninstall it and install it from the nodejs website manually. The error will fix.

0

Just for completeness, on Linux Mint LMDE 5, installing with pip solved the problem:

pip install nodejs

0

still need python binding for nodejs

sudo pip install nodejs
1
0

I've just installed nodejs (in an environment other than base), but that message still persists. (Windows 11)

pip install nodejs

(I check with conda list nodejs, pip and conda know either other's installation)

1
  • Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.
    – Community Bot
    Jul 28 at 13:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.