jwkvam / jupyterlab-vim

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

Install fails #110

Closed kttn8769 closed 4 years ago

kttn8769 commented 4 years ago

Hi, I am having trouble in installation.

Below is the contents of the logfile.

Yarn configuration loaded.
Node v10.13.0

> /home/people/kttn/anaconda3/bin/npm pack jupyterlab_vim
npm notice
npm notice 📦  jupyterlab_vim@0.11.0
npm notice === Tarball Contents ===
npm notice 1.3kB  package.json
npm notice 1.5kB  History.md
npm notice 1.1kB  LICENSE
npm notice 4.8kB  README.md
npm notice 274B   lib/index.d.ts
npm notice 21.4kB lib/index.js
npm notice 0      style/index.css

npm notice === Tarball Details ===
npm notice name:          jupyterlab_vim
npm notice version:       0.11.0
npm notice filename:      jupyterlab_vim-0.11.0.tgz
npm notice package size:  6.8 kB
npm notice unpacked size: 30.2 kB
npm notice shasum:        e9339dde205c631a168b2291856257d7ed7dd54b
npm notice integrity:     sha512-KXIZos4FJ/PCk[...]OUx6XN4ox0tTQ==
npm notice total files:   7
npm notice
jupyterlab_vim-0.11.0.tgz

Yarn configuration loaded.
Node v10.13.0

Building jupyterlab assets (build:prod:minimize)
> node /home/people/kttn/anaconda3/lib/python3.7/site-packages/jupyterlab/staging/yarn.js install --non-interactive
yarn install v1.15.2
[1/5] Validating package.json...
[2/5] Resolving packages...
warning Lockfile has incorrect entry for "@jupyterlab/nbconvert-css@~0.3.4". Ignoring it.
[3/5] Fetching packages...
info fsevents@1.2.9: The platform "linux" is incompatible with this module.
info "fsevents@1.2.9" is an optional dependency and failed compatibility check. Excluding it from installation.
[4/5] Linking dependencies...
error An unexpected error occurred: "EREMOTEIO: remote I/O error, copyfile '/home/people/kttn/.cache/yarn/v4/npm-@blueprintjs-select-3.11.2-3324db0de44a9f386b957aac1ba3ec774b3eb1e7/node_modules/@blueprintjs/select/LICENSE' -> '/net/fs09/homes/people/kttn/anaconda3/share/jupyter/lab/staging/node_modules/@blueprintjs/select/LICENSE'".
info If you think this is a bug, please open a bug report with the information provided in "/net/fs09/homes/people/kttn/anaconda3/share/jupyter/lab/staging/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

npm dependencies failed to install
Traceback (most recent call last):

  File "/home/people/kttn/anaconda3/lib/python3.7/site-packages/jupyterlab/debuglog.py", line 47, in debug_logging
    yield

  File "/home/people/kttn/anaconda3/lib/python3.7/site-packages/jupyterlab/labextensions.py", line 105, in start
    command=command, app_options=app_options)

  File "/home/people/kttn/anaconda3/lib/python3.7/site-packages/jupyterlab/commands.py", line 459, in build
    command=command, clean_staging=clean_staging)

  File "/home/people/kttn/anaconda3/lib/python3.7/site-packages/jupyterlab/commands.py", line 660, in build
    raise RuntimeError(msg)

RuntimeError: npm dependencies failed to install

Exiting application: jupyter

I would appreciate any suggestion, thank you.

kttn8769 commented 4 years ago

This problem was solved by updating nodejs and yarn.