Open benbovy opened 4 years ago
Is it in Binder?
There have been multiple reports lately that building JupyterLab fails on Binder, and it's very likely due to memory issues. Disabling minimize seems to use less memory indeed.
And this should be fixed with JupyterLab 3 but we need to update ipygany accordingly. I am actually working on this today.
Both in Binder and locally.
I can see for the local build that the error message is coming from Terser:
ERROR in vendors~main.3d694714f4f0957e53a0.js from Terser
Unexpected token: punc ()) [./node_modules/three/examples/jsm/nodes/materials/nodes/StandardNode.js:332,0][vendors~main.3d694714f4f0957e53a0.js:249387,2]
at ee (/Users/bbovy/miniconda3/envs/jupyterlab/share/jupyter/lab/staging/node_modules/terser/dist/bundle.min.js:1:19541)
at c (/Users/bbovy/miniconda3/envs/jupyterlab/share/jupyter/lab/staging/node_modules/terser/dist/bundle.min.js:1:28244)
at l (/Users/bbovy/miniconda3/envs/jupyterlab/share/jupyter/lab/staging/node_modules/terser/dist/bundle.min.js:1:28335)
at f (/Users/bbovy/miniconda3/envs/jupyterlab/share/jupyter/lab/staging/node_modules/terser/dist/bundle.min.js:1:28388)
at Ee (/Users/bbovy/miniconda3/envs/jupyterlab/share/jupyter/lab/staging/node_modules/terser/dist/bundle.min.js:1:47819)
at _e (/Users/bbovy/miniconda3/envs/jupyterlab/share/jupyter/lab/staging/node_modules/terser/dist/bundle.min.js:1:47505)
at _e (/Users/bbovy/miniconda3/envs/jupyterlab/share/jupyter/lab/staging/node_modules/terser/dist/bundle.min.js:1:47237)
at G (/Users/bbovy/miniconda3/envs/jupyterlab/share/jupyter/lab/staging/node_modules/terser/dist/bundle.min.js:1:42552)
at ge (/Users/bbovy/miniconda3/envs/jupyterlab/share/jupyter/lab/staging/node_modules/terser/dist/bundle.min.js:1:48272)
at /Users/bbovy/miniconda3/envs/jupyterlab/share/jupyter/lab/staging/node_modules/terser/dist/bundle.min.js:1:49152
Not sure I can help on this :S I wouldn't know where to start looking.
Sometimes conda ships a very outdated version of nodejs, maybe check that your version is the latest?
I updated to the latest nodejs version 14.13.1
, the error is still there...
Not sure I can help on this :S I wouldn't know where to start looking.
No worries, I'm fine using minimize=False
for now and I'm looking forward Jupyterlab 3.
These are the commands which worked for me:
jupyter labextension install @jupyter-widgets/jupyterlab-manager ipygany --no-build
jupyter lab build --minimize=False
... unless I re-build jupyterlab with
--minimize=False
.xref https://github.com/jupyterlab/jupyterlab/issues/8688
Perhaps it won't be relevant anymore after #70 so feel free to close this @martinRenou.