Closed zxdawn closed 4 years ago
It says "registry.npmjs.org does not exist", which looks to me like a temporary error due to a server being down; maybe try again?
It looks like I can't connect to the server in my university (China) ...
Actually the log above is the result of proxychains jupyter labextension install @pyviz/jupyterlab_pyviz
which uses the VPN.
Here's the original output of jupyter labextension install @pyviz/jupyterlab_pyviz
:
Node v6.14.4
> /usr/bin/npm pack @pyviz/jupyterlab_pyviz
pyviz-jupyterlab_pyviz-0.7.2.tgz
Node v6.14.4
> node /home/xin/Software/miniconda3/envs/satpy/lib/python3.6/site-packages/jupyterlab/staging/yarn.js install
yarn install v1.9.4
info No lockfile found.
[1/5] Validating package.json...
[2/5] Resolving packages...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
error An unexpected error occurred: "https://registry.yarnpkg.com/@jupyterlab%2fapplication: ETIMEDOUT".
info If you think this is a bug, please open a bug report with the information provided in "/home/xin/Software/miniconda3/envs/satpy/share/jupyter/lab/staging/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
> node /home/xin/Software/miniconda3/envs/satpy/lib/python3.6/site-packages/jupyterlab/staging/yarn.js run build
yarn run v1.9.4
$ webpack
/bin/sh: 1: webpack: not found
error Command failed with exit code 127.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
But, the VPN works for google and other websites ... It looks strange.
What happens when you visit registry.npmjs.org in your browser?
What happens when you visit registry.npmjs.org in your browser?
This is the result:
{"db_name":"registry","doc_count":1259400,"doc_del_count":341,"update_seq":1989641,"purge_seq":0,"compact_running":false,"disk_size":19607470215,"data_size":14976509358,"instance_start_time":"1558518210488063","disk_format_version":6,"committed_update_seq":1989641}
This issue might help: https://github.com/jupyterlab/jupyterlab/issues/5071
This issue might help: jupyterlab/jupyterlab#5071
After killing all processes related to jupyter-lab, I still got the error.
This does not appear to be an issue with the extension itself, closing.
I try to install pyviz by:
But, I got this result:
Version of jupyterlab: