JupyterLab Build Failed

Hello,

Recently I have upgrade conda will the latest release and version upgraded to conda 25.1.0. After successfully completed my upgrade, when I launch jupterlab then I gets a pop up stating

Build Recommended
JupyterLab build is suggested:
@plotly/dash-jupyterlab needs to be included in build

When I tried to build , I get this error

Build Failed
Build failed with 500.
If you are experiencing the build failure after installing an extension (or trying to include previously installed extension after updating JupyterLab) please check the extension repository for new installation instructions as many extensions migrated to the prebuilt extensions system which no longer requires rebuilding JupyterLab (but uses a different installation procedure, typically involving a package manager such as ‘pip’ or ‘conda’).

If you specifically intended to install a source extension, please run ‘jupyter lab build’ on the server for full output

So I logged into the anaconda version , I tried to run jupyter lab build where I got build failed with reason
[LabBuildApp] WARNING | The extension “jupyterlab-dash” is outdated

So I ran jupyter lab clean --all and that removed all extension and running

jupyter lab build --minimize=False --dev-build=False to complete the build fastly…

But its taking long time . I dont think whether this issue will fix the pop up window from the lab portal?

Please let me know your thoughts. Thanks

This is totally new and never got before…

Without knowing any of the versions involved, it’s very hard to say.

Generally, end users should never have to jupyter lab build. I’d highly recommend:

  • start with a new environment.yml
channels:
  - conda-forge
  - nodefaults        # defaults can be... extremely out-of-date
dependencies:
  - python 3.12.*     # or whatever
  - jupyterlab 4.3.*  # or whatever
  - plotly 5.24.*     # or whatever
  • conda env update --file environment.yml --name my-lab-test
  • add any other packages
  • repeat until it works in the desired way

Once that does what it says on the tin, either:

  • keep using that environment
  • use the versions as installed in that env to guide fixing the environment of interest
2 Likes

Thanks @bollwyvl for your response.

Sorry, I didnot mention the version

Python 3.12.2
jupyterlab 4.3.5
plotly 5.24.1

Sorry, till date we never created any new environment and we install and configure everything on base env.