Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

NodeJs 5+ error when installing jupyterlab-toc #5

Closed
pluviosilla opened this issue Mar 18, 2018 · 5 comments
Closed

NodeJs 5+ error when installing jupyterlab-toc #5

pluviosilla opened this issue Mar 18, 2018 · 5 comments

Comments

@pluviosilla
Copy link

pluviosilla commented Mar 18, 2018

This error may well look as mysterious to you as it does to me, but I'll post it just in case someone might be able to clue me in.

> jupyter labextension install jupyterlab-toc

Errored, use --debug for full output:
ValueError: Please install nodejs 5+ and npm before continuing. nodejs may be installed using conda or directly from the nodejs website.

Many of us a delighted you did this (THANKS!). Do you have any plans to add conda support?

@pluviosilla
Copy link
Author

Never mind. Installing nodejs with

conda install nodejs

fixed the problem. I'm still getting a few errors, notably:

  • jupyter\lab\staging\node_modules\canvas: Command failed
  • Your current version of Yarn is out of date

@ian-r-rose
Copy link
Member

Glad you got it worked out. Yes, JupyterLab requires nodejs to install extensions. The canvas error can be safely ignored, and our version of yarn will be updated in the next release.

markellekelly added a commit to markellekelly/jupyterlab-toc that referenced this issue Jul 25, 2018
@adejonghm
Copy link

adejonghm commented Aug 6, 2019

Hi everyone,
How do I solve this problem if I'm not using conda, I'm using pip with Linux Mint

Any suggestion??

@BarRozenman
Copy link

maybe "pip install nodejs"

@BornRiot
Copy link

@pluviosilla Thank you so much!!! I was having an issue with trying to install Kite for Jupyter Notebook and tried to use a standalone installation of Node.js and that did not work

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants