Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't uninstall without installing nodejs #129

Open
Pastells opened this issue May 6, 2021 · 0 comments
Open

Can't uninstall without installing nodejs #129

Pastells opened this issue May 6, 2021 · 0 comments

Comments

@Pastells
Copy link

Pastells commented May 6, 2021

I'm trying to uninstall with jupyter labextension uninstall jupyterlab_vim and gives me:

An error occured.
ValueError: Please install nodejs >=12.0.0 before continuing. nodejs may be installed using conda or directly from the nodejs website.
See the log file for details:  /tmp/jupyterlab-debug-_d1n2xvw.log

I don't get why I need to install (or update) something in order to uninstall the extension.

The content in the log file is:

Traceback (most recent call last):

  File "/home/pol/.local/lib/python3.8/site-packages/jupyterlab/commands.py", line 1890, in _node_check
    output = subprocess.check_output([node, 'node-version-check.js'], cwd=HERE)

  File "/usr/lib/python3.8/subprocess.py", line 411, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,

  File "/usr/lib/python3.8/subprocess.py", line 512, in run
    raise CalledProcessError(retcode, process.args,

subprocess.CalledProcessError: Command '['/usr/bin/node', 'node-version-check.js']' returned non-zero exit status 1.


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

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

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

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

  File "/home/pol/.local/lib/python3.8/site-packages/jupyterlab/labextensions.py", line 333, in <listcomp>
    uninstall_extension(

  File "/home/pol/.local/lib/python3.8/site-packages/jupyterlab/commands.py", line 407, in uninstall_extension
    _node_check(app_options.logger)

  File "/home/pol/.local/lib/python3.8/site-packages/jupyterlab/commands.py", line 1896, in _node_check
    raise ValueError(msg)

ValueError: Please install nodejs >=12.0.0 before continuing. nodejs may be installed using conda or directly from the nodejs website.

Exiting application: lab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant