Jupyterlab: Is it really mandatory required npm to install lab extension?

Created on 20 Jul 2017  路  3Comments  路  Source: jupyterlab/jupyterlab

Original from this thread: https://github.com/jupyterlab/jupyterlab/pull/2038#issuecomment-299618742

Saying I would like to distribute nglview lab extension via conda.
Can a user just need to

conda install nglview -c bioconda

Requiring handle npm, yarn, ... is too much for a regular user who does not really care much
about programing. My impression is that we only need to build a tarfile, copy to correct lab location, update some configs (?) and thing just works.

resolved-locked Build System Extensions Question

All 3 comments

Yes, it really is mandatory. When you install an extension, we have to rebuild all of jupyterlab's javascript, which involves installing with npm, deduping, and webpacking.

We have some ideas about how to make distributing npm easier, but it's not a worry with conda - conda packages npm, so npm is just a conda install away already.

Closing as answered. Thanks for asking so we could document this.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aghoshpub picture aghoshpub  路  3Comments

elgalu picture elgalu  路  3Comments

minertom picture minertom  路  3Comments

t-makaro picture t-makaro  路  3Comments

blink1073 picture blink1073  路  3Comments