Comments (8)
Dammit. I just searched on and off all day for incantations of "jupyterlab extension install hangs" and similar and didn't see this. I guess I should have checked here first, but assumed it was a fringe/unique problem.
I've got the exact same issue. Looks like this indefinitely when I try to install:
$ jupyter labextension install @jupyterlab/plotly-extension
> /usr/bin/npm pack @jupyterlab/plotly-extension
npm notice
npm notice 📦 @jupyterlab/[email protected]
npm notice === Tarball Contents ===
npm notice 0 package
npm notice 2.4kB README.md
npm notice 0 lib
npm notice 1.2kB package.json
npm notice 0 style
npm notice 1.3kB lib/index.d.ts
npm notice 4.7kB lib/index.js
npm notice 546B style/index.css
npm notice 1.7kB style/plotly.svg
npm notice === Tarball Details ===
npm notice name: @jupyterlab/plotly-extension
npm notice version: 0.16.0
npm notice filename: jupyterlab-plotly-extension-0.16.0.tgz
npm notice package size: 4.3 kB
npm notice unpacked size: 11.8 kB
npm notice shasum: 8426a56c6fc3818c4015df33db5c164edafacf91
npm notice integrity: sha512-MLDMSe5cXUx/U[...]14383uemZUL3g==
npm notice total files: 9
npm notice
jupyterlab-plotly-extension-0.16.0.tgz
> node /home/jwhendy/.local/lib/python3.6/site-packages/jupyterlab/staging/yarn.js install
yarn install v1.5.1
(node:22182) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
info No lockfile found.
[1/4] Resolving packages...
⠂ @jupyterlab/plotly-extension@file:../extensions/jupyterlab-plotly-extension-0.16.0.tgz
When I Ctrl-c
I get this:
^CTraceback (most recent call last):
File "/home/jwhendy/.local/bin/jupyter-labextension", line 11, in <module>
sys.exit(main())
File "/home/jwhendy/.local/lib/python3.6/site-packages/jupyter_core/application.py", line 266, in launch_instance
return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
File "/home/jwhendy/.local/lib/python3.6/site-packages/traitlets/config/application.py", line 658, in launch_instance
app.start()
File "/home/jwhendy/.local/lib/python3.6/site-packages/jupyterlab/labextensions.py", line 213, in start
super(LabExtensionApp, self).start()
File "/home/jwhendy/.local/lib/python3.6/site-packages/jupyter_core/application.py", line 255, in start
self.subapp.start()
File "/home/jwhendy/.local/lib/python3.6/site-packages/jupyterlab/labextensions.py", line 75, in start
logger=self.log, command=command)
File "/home/jwhendy/.local/lib/python3.6/site-packages/jupyterlab/commands.py", line 259, in build
command=command, clean_staging=clean_staging)
File "/home/jwhendy/.local/lib/python3.6/site-packages/jupyterlab/commands.py", line 400, in build
self._run(['node', YARN_PATH, 'install'], cwd=staging)
File "/home/jwhendy/.local/lib/python3.6/site-packages/jupyterlab/commands.py", line 1278, in _run
return proc.wait()
File "/home/jwhendy/.local/lib/python3.6/site-packages/jupyterlab/process.py", line 108, in wait
time.sleep(1.)
KeyboardInterrupt
Misc details:
$ jupyter --version
4.4.0
$ jupyter notebook --version
5.4.1
$ jupyter lab --version
0.32.1
$ node --version
v10.0.0
$ npm --version
6.0.0
>>> plotly.__version__
'2.5.1'
from jupyter-renderers.
I have tried this on 2 different machines (My work Mac and home PC, both using Anaconda distro) and getting the same results.
from jupyter-renderers.
Can you try @realjumy's solution: #132
from jupyter-renderers.
I am able to reproduce this using Node 10. Downgrading to Node 9 fixes the "hang on resolving packages step of yarn install
".
from jupyter-renderers.
The install works for me using Node 9 as well. On arch, I downgraded to 2018-03 versions from the Arch Linux Archive:
from jupyter-renderers.
Downgraded to node 6 using Brew from #132 and it worked with no issues. Thank!!!
from jupyter-renderers.
Good to hear!
from jupyter-renderers.
Can I clarify that this is closed because it's a duplicate of #132? (Not that I need to re-downgrade the default nodejs
version indefinitely?) :)
from jupyter-renderers.
Related Issues (20)
- Compatibility with JupyterLab 3.0? HOT 1
- [Feature Request] `conda` pacakges HOT 1
- Package into a python extension HOT 2
- katex: change options HOT 1
- Difference between mathjax2 and katex
- [katex] Strange behavior: need to execute markdown cell twice HOT 2
- production build not happening automatically when releasing python packages HOT 1
- [KaTeX] Math is not rendered in "code" cell outputs. HOT 1
- [3.1.0rc2] `jupyterlab-fasta` fails to render: `t.on is not a function` HOT 15
- UTF-8 BOM causes error HOT 1
- plots not appearing (but no error, and it looks like there is a result; result is invisible) with plotly in jupyter lab HOT 2
- Use maplibre to render GeoJSON HOT 1
- Where is MathJax object? HOT 1
- jsoncrack JSON renderer HOT 2
- geoJSON renderer does not use the provided sanitizer HOT 1
- GeoJSON Renderer not displaying HOT 5
- MathJax3-extension doesn't enable MathJax3 rendering in Spyder HOT 3
- Last amino acid is truncated HOT 1
- `@jupyterlab/mathjax2-extension` 4.0.0 is not published on npm HOT 5
- Adopt the Jupyter Releaser HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jupyter-renderers.