question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to build Jupyter lab 3.0.14

See original GitHub issue

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/or minimize options.

If you are building via the jupyter lab build command, you can disable these 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 by adding 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 a dev or a more streamlined production build is used. This option will default to False (i.e., the production build) for most users. However, if you have any labextensions installed from local files, this option will instead default to True. Explicitly setting dev-build to False will ensure that the production build is used in all circumstances.

  • minimize: This option controls whether your JS bundle is minified during 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

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
caexycommented, Jul 2, 2021

Could you please provide the error log? I tried to reinstall it today and it worked。

0reactions
quigleyj97commented, Jul 17, 2021

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 exposes property to signal what the exported symbols are.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Jupyter lab failed to build · Issue #9698 - GitHub
I am able to use JupyterLab prebuilt extensions normally. But since jupyter lab build fails, I cannot use the source extensions for JupyterLab....
Read more >
Jupyter lab failed to build - extensions
Hi,. I am trying to install extensions to Jupyter Lab on my Mac but it always fails to build. Example with jupyterlab_variableinspector.
Read more >
Build failed with 500, please run 'jupyter lab ... - Stack Overflow
Using terminal, try jupyter lab build , which will produce an output on your AppData\Local\Temp folder (if you are on Windows).
Read more >
JupyterLab failed to build - done - Prodigy Support
Hi everyone, I'm trying to install jupyterlab-prodigy and I've been following the instructions/googling errors with no help.
Read more >
JupyterLab Changelog — JupyterLab 3.6.0b0 documentation
The script will update the relevant dependencies and add the boilerplate to create the Python package. For extensions that already contained Python packages...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found