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

Problems installing - nodejs #7

Open
kaktux opened this issue Jun 27, 2020 · 0 comments
Open

Problems installing - nodejs #7

kaktux opened this issue Jun 27, 2020 · 0 comments

Comments

@kaktux
Copy link

kaktux commented Jun 27, 2020

hi there,

im new to jupyter - and wanted to use kaggle for my first tryouts.
But when i want to install the extension (ubuntu20.04, miniforge installed, jupyterlab (and ir-kernel) from conda-forge) i get the error:

jupyter labextension install @kaggle/jupyterlab
An error occured.
ValueError: Please install Node.js and npm before continuing installation. You may be able to install Node.js from your package manager, from conda, or directly from the Node.js website (https://nodejs.org).
See the log file for details: /tmp/jupyterlab-debug-7746_i0p.log

So i install nodejs from conda https://anaconda.org/anaconda/nodejs
After the same error appears.

I also tried nodejs from conda-forge (https://anaconda.org/conda-forge/nodejs)
Still the same error when i want to

jupyter labextension install @kaggle/jupyterlab

The log says:

Node v10.19.0

Yarn configuration loaded.
Traceback (most recent call last):

  File "/home/myuser/.local/lib/python3.8/site-packages/jupyterlab/debuglog.py", line 47, in debug_logging
    yield

  File "/home/myuser/.local/lib/python3.8/site-packages/jupyterlab/labextensions.py", line 93, in start
    ans = self.run_task()

  File "/home/myuser/.local/lib/python3.8/site-packages/jupyterlab/labextensions.py", line 138, in run_task
    return any([

  File "/home/myuser/.local/lib/python3.8/site-packages/jupyterlab/labextensions.py", line 139, in <listcomp>
    install_extension(

  File "/home/myuser/.local/lib/python3.8/site-packages/jupyterlab/commands.py", line 388, in install_extension
    return handler.install_extension(extension, pin=pin)

  File "/home/myuser/.local/lib/python3.8/site-packages/jupyterlab/commands.py", line 603, in install_extension
    info = self._install_extension(extension, tempdir, pin=pin)

  File "/home/myuser/.local/lib/python3.8/site-packages/jupyterlab/commands.py", line 1499, in _install_extension
    info = self._extract_package(extension, tempdir, pin=pin)

  File "/home/myuser/.local/lib/python3.8/site-packages/jupyterlab/commands.py", line 1575, in _extract_package
    ret = self._run([which('npm'), 'pack', source], cwd=tempdir)

  File "/home/myuser/.local/lib/python3.8/site-packages/jupyterlab_server/process.py", line 59, in which
    raise ValueError(msg)

ValueError: Please install Node.js and npm before continuing installation. You may be able to install Node.js from your package manager, from conda, or directly from the Node.js website (https://nodejs.org).

Exiting application: jupyter
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

1 participant