Code Monkey home page Code Monkey logo

Comments (3)

henrymj avatar henrymj commented on June 5, 2024 1

Hello! Currently running into a very similar error:

root@6e15fdbb6cbf:/scripts# jupyter labextension install @jupyterlab/toc Building jupyterlab assets An error occured. RuntimeError: npm dependencies failed to install See the log file for details: /tmp/jupyterlab-debug-s477h0h7.log

The log file is empty. My current version of jupyterlab is 1.0.0 (it was 1.1.3, but I downgraded based on advice found elsewhere on the internet, to no avail).

Do you have any suggestions? Thank you so much

from jupyterlab-toc.

ian-r-rose avatar ian-r-rose commented on June 5, 2024

Hi @rtmatx, it looks like the version of JupyterLab you are using is an older one (0.31?). The most recent release of @jupyterlab/toc is for JupyterLab v0.34. I recommend either updating your JupyterLab, or downgrading @jupyterlab/toc to v0.1.0 (jupyter labextension install [email protected]).

from jupyterlab-toc.

rtmlp avatar rtmlp commented on June 5, 2024

Hi. Thanks for your quick comment. That helped. But I am receiving new error. Not sure if it is related to this extension though. Have you noticed these errors before

jupyterlab-toc-0.4.0.tgz
> node /home/rmulpuri/anaconda/envs/temp/lib/python3.6/site-packages/jupyterlab/staging/yarn.js install
yarn install v1.9.4
info No lockfile found.
[1/4] Resolving packages...
warning css-loader > cssnano > autoprefixer > [email protected]: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
warning css-loader > cssnano > postcss-merge-rules > [email protected]: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
warning css-loader > cssnano > postcss-merge-rules > caniuse-api > [email protected]: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
[2/4] Fetching packages...
[-------------------------------------------------------------------------------------------------------------------------------------------------------------------------] 0/822(node:48003) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
error An unexpected error occurred: "https://registry.yarnpkg.com/@jupyterlab/services/-/services-3.1.4.tgz: ENOENT: no such file or directory, open '/home/rmulpuri/.cache/yarn/v2/npm-@jupyterlab/services-3.1.4-d807ab60a689bc9dafa31536cf4f9e1afb73c441/.yarn-tarball.tgz'".
info If you think this is a bug, please open a bug report with the information provided in "/home/rmulpuri/anaconda/envs/temp/share/jupyter/lab/staging/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
> node /home/rmulpuri/anaconda/envs/temp/lib/python3.6/site-packages/jupyterlab/staging/yarn.js run build
yarn run v1.9.4
$ webpack
/bin/sh: webpack: command not found
error Command failed with exit code 127.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

from jupyterlab-toc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.