jwkvam / jupyterlab-vim

:neckbeard: Vim notebook cell bindings for JupyterLab
MIT License
975 stars 73 forks source link

Cannot install plugin: not a valid npm package #97

Closed tonglianheng closed 5 years ago

tonglianheng commented 5 years ago

Hi, I am using Jupyter lab 1.1.4

When I did

jupyter labextension install jupyterlab_vim

I get an error saying that

An error occured.
ValueError: "jupyterlab_vim" is not a valid npm package
See the log file for details:  /tmp/jupyterlab-debug-i518ezyp.log

I also tried to install the plugin from within Jupyter Lab extensions manager GUI, and it is able to find "jupyterlab_vim" but again when I tried to install it, it complains with the same error message.

tonglianheng commented 5 years ago

I solved the issue. It was to do with SSL certificates behind corporate firewall. I initially had both HTTP and HTTPS proxies set. This did not work, nor did setting strict-ssl to false in .npmrc work.

What worked for me was removing the HTTPS proxy, to force npm to use HTTP. After this, the plugin installed without issues.

tim0120 commented 2 years ago

Hey, I'm running into the same issue but I'm not sure what "removing the HTTPS proxy" means, could you possibly explain?