widgetti / widgetti/ipyvuetify

Cannot run `jupyter lab build` with ipyvuetify install in jupyterlab 4.X

Open
#329 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
355
Forks
61
PR merge metrics
No merged PRs in 30d

Description

Note: I recognize this isn't required for ipvuetify, this is blocking me with another extension.

python3.11 -m venv .venv
source .venv/bin/activate
pip install "jupyterlab==4.0.0" "ipyvuetify==1.10.0" # jupyterlab 4.3 doesn't work either.
jupyter lab build

Yields the error:

[LabBuildApp] JupyterLab 4.0.0
[LabBuildApp] Building in /home/jabbera/temp/jl/.venv/share/jupyter/lab
[LabBuildApp] Building jupyterlab assets (production, minimized)
[LabBuildApp] ERROR | Build failed.
<SNIP>
/home/jabbera/temp/jl/.venv/lib/python3.11/site-packages/jupyterlab/debuglog.py:58: UserWarning: See the log file for details: /tmp/jupyterlab-debug-f3ttojm9.log

The logfile contains the following error:
[LabBuildApp] Building in /home/jabbera/temp/jl/.venv/share/jupyter/lab
[LabBuildApp] Node v22.14.0

[LabBuildApp] Yarn configuration loaded.
[LabBuildApp] Building jupyterlab assets (production, minimized)
[LabBuildApp] > node /home/jabbera/temp/jl/.venv/lib/python3.11/site-packages/jupyterlab/staging/yarn.js install
[LabBuildApp] ➤ YN0000: ┌ Resolution step

[LabBuildApp] [webpack-cli] ModuleNotFoundError: Module not found: Error: Can't resolve 'de-indent' in '/home/jabbera/temp/jl/.venv/share/jupyter/lab/staging/node_modules/@mariobuikhuizen/vue-compiler-addon/dist'

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with the listed Python virtual-environment, JupyterLab, and ipyvuetify commands, then inspect the JupyterLab build log and the staging node_modules path shown in the report. Investigate why webpack cannot resolve de-indent, and consider the build complete when jupyter lab build succeeds with this installation.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, python
Domain
build-system, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.