GithubHelp home page GithubHelp logo

Installation freezes on Resolving packages... @oriolmirosa/jupyterlab_materialdarker@file:../extensions/oriolmirosa-jupyterlab_materialdarker-0.3.0.tgz about jupyterlab_materialdarker HOT 15 CLOSED

oriolmirosa avatar oriolmirosa commented on July 22, 2024 1
Installation freezes on Resolving packages... @oriolmirosa/jupyterlab_materialdarker@file:../extensions/oriolmirosa-jupyterlab_materialdarker-0.3.0.tgz

from jupyterlab_materialdarker.

Comments (15)

joshbode avatar joshbode commented on July 22, 2024 3

Thanks @thongnnguyen :)

This worked for me with no downgrade of node required:

$ npm install -g yarn
/Users/josh/.local/bin/yarnpkg -> /Users/josh/.local/lib/node_modules/yarn/bin/yarn.js
/Users/josh/.local/bin/yarn -> /Users/josh/.local/lib/node_modules/yarn/bin/yarn.js
+ [email protected]
updated 1 package in 0.485s

$ yarn config set yarn-path "$(which yarn)"
yarn config v1.9.2
success Set "yarn-path" to "/Users/josh/.local/bin/yarn".

$ jupyter labextension install @oriolmirosa/jupyterlab_materialdarker

macOS 10.13.6, Node v10.7.0 (via brew), Python 3.7.0 (via brew), JupyterLab 0.33.4 (via pip)

from jupyterlab_materialdarker.

thgngu avatar thgngu commented on July 22, 2024 1

Everyone,

I had a similar issue with another jupyterlab extension (before I come to this extension). This comment helps me fix the problem without downgrading my node 10.

I'm on Ubuntu 16.04, Anaconda 4.5.8, Python 3.6, Jupyterlab 0.32.1

from jupyterlab_materialdarker.

oriolmirosa avatar oriolmirosa commented on July 22, 2024 1

Jupyterlab 0.34 contains this change:

  • JupyterLab now uses yarn 1.9.4 (aliased as jlpm), which now allows users to use Node 10+. (#5121).

This issue should be resolved then. Please feel free to re-open if the problems continue.

Thanks everyone!

from jupyterlab_materialdarker.

oriolmirosa avatar oriolmirosa commented on July 22, 2024

Are you on node 10? There are reports of this happening with jupyterlab extensions if node 10 is installed. Downgrade to a node 9 version and try again. Let me know if this is still happening then.

from jupyterlab_materialdarker.

ivan-rivera avatar ivan-rivera commented on July 22, 2024

Had to downgrade to node 8 and then I managed to install it. But then I ran into another issue -- after launching jupyter and selecting this theme, I got an error in my browser:

Error Loading Theme -- Stylesheet failed to load: /lab/api/themes/MaterialDarker/index.css

I was then unable to interact with the page and the only way to recover jupyter was to uninstall this extension.

from jupyterlab_materialdarker.

oriolmirosa avatar oriolmirosa commented on July 22, 2024

Hmm... I have only seen a problem like this when I have tried to install the extension on a jupyterhub instance and I had issues with user permissions. Are you installing this on your own system? What is the application directory in jupyter lab path (the first on the list)? Do you have permissions to access it? If you do, I suggest that you manually delete the extension from the extensions folder in the application directory and reinstall from scratch. Let me know what happens.

from jupyterlab_materialdarker.

ivan-rivera avatar ivan-rivera commented on July 22, 2024

Yep, I'm installing it on my system. The application directory you were wondering about is /anaconda3/share/jupyter/lab and I do have permissions to access it, I was running the installation in sudo mode.

from jupyterlab_materialdarker.

oriolmirosa avatar oriolmirosa commented on July 22, 2024

That might be the issue. If you install with sudo the path is probably different and you have a permission issue. Did you install anaconda as root? That can lead to problems. See the last comment in this thread:

conda/conda#6638

from jupyterlab_materialdarker.

universvm avatar universvm commented on July 22, 2024

I am not sure if it can help, but I am not using anaconda and I am having the same problem.

from jupyterlab_materialdarker.

oriolmirosa avatar oriolmirosa commented on July 22, 2024

@universvm, what version of Node are you using?

from jupyterlab_materialdarker.

universvm avatar universvm commented on July 22, 2024

@oriolmirosa I was using 10.3 but even after updating to 10.6 the problem persists.

from jupyterlab_materialdarker.

oriolmirosa avatar oriolmirosa commented on July 22, 2024

@universvm As I mentioned earlier in the thread, this is a known problem of jupyterlab with Node 10. If you downgrade to Node 9 the problem should go away. Can you give it a try?

from jupyterlab_materialdarker.

universvm avatar universvm commented on July 22, 2024

@oriolmirosa I can't downgrade unfortunately as I am on a work laptop. Is there really no alternative?

Could you also provide a solution to the following problem, I can't seem to get rid of this error message...
screenshot_2018-07-08 17 10 03

from jupyterlab_materialdarker.

oriolmirosa avatar oriolmirosa commented on July 22, 2024

@universvm The build message would disappear if you were able to install the extension. As far as I know, the original problem is a general issue with jupyterlab, which is not unexpected given that jupyterlab is still in beta. I saw that the first release candidate of jupyterlab 0.33 was pushed a few days ago, so you could install that (or wait until the official 0.33 release soon) to see if the issue with node 10 is fixed.

from jupyterlab_materialdarker.

kurakuradave avatar kurakuradave commented on July 22, 2024

Hi, I managed to install it and set my color theme, however that "Build Recommended" message appears every time I started jupyterlab.. any ideas? thanks
I'm on Ubuntu 16.04, python 3.5.2 and jupyter lab 0.32.1

from jupyterlab_materialdarker.

Related Issues (18)

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.