Her0Her0
Her0Her0

Reputation: 547

Conda not recognizing that I have node installed?

I open the terminal.

jupyter labextension install @jupyterlab/github

An error occured.
ValueError: Please install nodejs >=10.0.0 before continuing. nodejs may be installed using conda or directly from the nodejs website.
See the log file for details

Yet:

node -v

v14.5.0

What's going on, and how do I make conda find my node?

Upvotes: 23

Views: 34090

Answers (4)

d4riush
d4riush

Reputation: 430

I had the same problem. The problem was I installed nodejs both with my conda package manager and in my system. I removed one of them (the conda nodejs package) and the problem was solved.

Upvotes: 8

Thomas Pugnat
Thomas Pugnat

Reputation: 430

I had a similar problem and it was solved after I installed the full package:

To install this package with conda run one of the following:

conda install -c conda-forge nodejs
conda install -c conda-forge/label/gcc7 nodejs
conda install -c conda-forge/label/cf201901 nodejs
conda install -c conda-forge/label/cf202003 nodejs

Upvotes: 39

Sid
Sid

Reputation: 1

run this command inside Jupiter terminal "conda install -c conda-forge/label/cf202003 nodejs"

Upvotes: 0

Neil
Neil

Reputation: 8604

In my case, the problem was solved by installing it from the jupyter's terminal instead of firing off command from within the notebook.

Upvotes: 0

Related Questions