-
Notifications
You must be signed in to change notification settings - Fork 16
Unable to build Jupyter lab 3.0.14 #37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I have this problem as well. The version of Jupyter is 3.0.16 |
Could you please provide the error log? I tried to reinstall it today and it worked。 |
jupyterlab-debug-29906bbt.log |
Thanks for posting the debug log! Checking the log, this appears to be a dependency issue with how JQuery is bundled:
I had to hack in JQuery to get it to work within Jupyterlab's webpack build, and it seems likely that something in that hack broke. Investigating further, I'll see if I can repro this locally. |
Unable to reproduce that exact failure, but after updating dependencies I did encounter one very similar build failure relating to that same hack. The format that expose-loader uses changed from 0.7.5 to 1.x, and now requires an |
Jupyter lab version= 3.0.14
python = 3.8.2
OS= Windows 10pro
After installing jupyter labextension spreadsheet jupyter lab failed to build. If i uninstall it then build successfully.
C:\Users\PC>jupyter labextension install jupyterlab-spreadsheet --no-build
C:\Users\PC>jupyter lab build --minimize=False
[LabBuildApp] JupyterLab 3.0.14
[LabBuildApp] Building in C:\Program Files\Autosphere\Process Studio\App\Python\share\jupyter\lab
[LabBuildApp] Building jupyterlab assets (production, not minimized)
Build failed.
Troubleshooting: If the build failed due to an out-of-memory error, you
may be able to fix it by disabling the
dev_build
and/orminimize
options.If you are building via the
jupyter lab build
command, you can disablethese options like so:
jupyter lab build --dev-build=False --minimize=False
You can also disable these options for all JupyterLab builds by adding these
lines to a Jupyter config file named
jupyter_config.py
:c.LabBuildApp.minimize = False
c.LabBuildApp.dev_build = False
If you don't already have a
jupyter_config.py
file, you can create one byadding a blank file of that name to any of the Jupyter config directories.
The config directories can be listed by running:
jupyter --paths
Explanation:
dev-build
: This option controls whether adev
or a more streamlinedproduction
build is used. This option will default toFalse
(i.e., theproduction
build) for most users. However, if you have any labextensionsinstalled from local files, this option will instead default to
True
.Explicitly setting
dev-build
toFalse
will ensure that theproduction
build is used in all circumstances.
minimize
: This option controls whether your JS bundle is minifiedduring the Webpack build, which helps to improve JupyterLab's overall
performance. However, the minifier plugin used by Webpack is very memory
intensive, so turning it off may help the build finish successfully in
low-memory environments.
An error occured.
RuntimeError: JupyterLab failed to build
See the log file for details: C:\Users\PC\AppData\Local\Temp\jupyterlab-debug-9p9orm7d.log
The text was updated successfully, but these errors were encountered: