RuntimeError: npm dependencies failed to install
See original GitHub issueI created a new environment in anaconda, installed packages and extensions. Not sure what is going on. Some online resources say it’s a yarn issue, but unsure if it is. Any help will be appreciated.
Steps to install virtual env, packages, and extension:
(base) conda create -n env_name python=3.7 pandas numpy -y
(base) conda activate env_name`
(env_name) conda install -c plotly plotly plotly_express -y
(env_name) jupyter labextension uninstall @jupyterlab/plotly-extension
Building jupyterlab assets
An error occured.
RuntimeError: npm dependencies failed to install
See the log file for details: C:\Users\Dustin\AppData\Local\Temp\jupyterlab-debug-ojsuussz.log
Here’s my debug file: jupyterlab-debug-ojsuussz.log
Here’s the packages in my environment:
attrs-19.1.0-py37_1
backcall-0.1.0-py37_0
blas-1.0-mkl
bleach-3.1.0-py37_0
ca-certificates-2019.5.15-1
certifi-2019.6.16-py37_1
colorama-0.4.1-py37_0
decorator-4.4.0-py37_1
defusedxml-0.6.0-py_0
entrypoints-0.3-py37_0
icc_rt-2019.0.0-h0cc432a_1
icu-58.2-ha66f8fd_1
intel-openmp-2019.4-245
ipykernel-5.1.2-py37h39e3cac_0
ipython-7.8.0-py37h39e3cac_0
ipython_genutils-0.2.0-py37_0
ipywidgets-7.5.1-py_0
jedi-0.15.1-py37_0
jinja2-2.10.1-py37_0
jpeg-9b-hb83a4c4_2
json5-0.8.5-py_0
jsonschema-3.0.2-py37_0
jupyter-1.0.0-py37_7
jupyter_client-5.3.1-py_0
jupyter_console-6.0.0-py37_0
jupyter_core-4.5.0-py_0
jupyterlab-1.0.2-py37hf63ae98_0
jupyterlab_server-1.0.0-py_1
libpng-1.6.37-h2a8f88b_0
libsodium-1.0.16-h9d3ae62_0
m2w64-gcc-libgfortran-5.3.0-6
m2w64-gcc-libs-5.3.0-7
m2w64-gcc-libs-core-5.3.0-7
m2w64-gmp-6.1.0-2
m2w64-libwinpthread-git-5.0.0.4634.697f757-2
markupsafe-1.1.1-py37he774522_0
mistune-0.8.4-py37he774522_0
mkl-2019.4-245
mkl-service-2.0.2-py37he774522_0
mkl_fft-1.0.14-py37h14836fe_0
mkl_random-1.0.2-py37h343c172_0
msys2-conda-epoch-20160418-1
nbconvert-5.5.0-py_0
nbformat-4.4.0-py37_0
nodejs-12.8.1-0
notebook-6.0.0-py37_0
numpy-1.16.4-py37h19fb1c0_0
numpy-base-1.16.4-py37hc3f5095_0
openssl-1.1.1c-he774522_1
pandas-0.25.1-py37ha925a31_0
pandoc-2.2.3.2-0
pandocfilters-1.4.2-py37_1
parso-0.5.1-py_0
patsy-0.5.1-py37_0
pickleshare-0.7.5-py37_0
pip-19.2.2-py37_0
plotly-4.0.0-py_0
plotly_express-0.4.0-py_0
prometheus_client-0.7.1-py_0
prompt_toolkit-2.0.9-py37_0
pygments-2.4.2-py_0
pyqt-5.9.2-py37h6538335_2
pyrsistent-0.14.11-py37he774522_0
python-3.7.4-h5263a28_0
python-dateutil-2.8.0-py37_0
pytz-2019.2-py_0
pywinpty-0.5.5-py37_1000
pyzmq-18.1.0-py37ha925a31_0
qt-5.9.7-vc14h73c81de_0
qtconsole-4.5.4-py_0
retrying-1.3.3-py37_2
scipy-1.3.1-py37h29ff71c_0
send2trash-1.5.0-py37_0
setuptools-41.0.1-py37_0
sip-4.19.8-py37h6538335_0
six-1.12.0-py37_0
sqlite-3.29.0-he774522_0
statsmodels-0.10.1-py37h8c2d366_0
terminado-0.8.2-py37_0
testpath-0.4.2-py37_0
tornado-6.0.3-py37he774522_0
traitlets-4.3.2-py37_0
vc-14.1-h0510ff6_4
vs2015_runtime-14.15.26706-h3a45250_4
wcwidth-0.1.7-py37_0
webencodings-0.5.1-py37_1
wheel-0.33.4-py37_0
widgetsnbextension-3.5.1-py37_0
wincertstore-0.2-py37_0
winpty-0.4.3-4
zeromq-4.3.1-h33f27b4_3
zlib-1.2.11-h62dcd97_3
Issue Analytics
- State:
- Created 4 years ago
- Reactions:5
- Comments:7
Top Results From Across the Web
Jupyter Labs: "RuntimeError: npm dependencies failed to ...
I installed yarn manually using conda with conda install -c conda-forge/label/gcc7 yarn Then I set the network timeout using: yarn install -- ...
Read more >RuntimeError: npm dependencies failed to install · Issue #38
I got it to work on a jupyterlab install but want it to work for jupyterhub now. Executing jupyter labextension install jupyterlab-slurm results ......
Read more >jupyterlab/jupyterlab - Gitter
On Windows I get the error. RuntimeError: npm dependencies failed to install. See file for details.... Why does the jupyterlab extension installed from...
Read more >Problem re-building JupyterLab on Windows
I ran this code but kept on running into the same error message: npm dependencies failed to install . I tried different methods...
Read more >PYNQ build error - Support
raise RuntimeError(msg). [LabBuildApp] RuntimeError: npm dependencies failed to install. [LabBuildApp] Exiting application: JupyterLab.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi Dustin, Have you ever figured out this error? I have the exact same one trying to configure plotly for jupyterlab and I can’t figure out a way to solve it 🤔 Thanks in advance!
Not really – I already had a virtual env for the project I was working on, so I didn’t want to migrate all of it just because of Plotly. So I used Bokeh successfully in that same v-env. If you do need Plotly though, I think Dustin’s answer is good: the error was coming from node.js. So, I’m betting creating a new v-env and a new associated jupyter kernel would have solved the issue. Hope this helps!
Le ven. 3 avr. 2020 à 10:11, jtlz2 notifications@github.com a écrit :