Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 732
Her0Her0 Avatar asked Jul 11 '20 12:07

Her0Her0


People also ask

How do I know if node is installed successfully?

Once you install Node. js on your computer, you can verify it by opening the command prompt and typing node -v . If Node. js is installed successfully then it will display the version of the Node.

How do I check if node is installed in CMD?

Run -> Type cmd -> Command Prompt windows appear -> type node --version . You should see version number.

Does Anaconda have NodeJS?

Now, type the below command in the Anaconda Command prompt to install NodeJS. Once the nodejs is successfully installed you can simply check which version of nodejs is installed by typing the following command in the Anaconda Command prompt.


Video Answer


2 Answers

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 solved.

like image 143
d4riush Avatar answered Oct 10 '22 03:10

d4riush


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
like image 24
Thomas Pugnat Avatar answered Oct 10 '22 04:10

Thomas Pugnat