Hi everyone, I'm trying to install jupyterlab-prodigy and I've been following the instructions/googling errors with no help. I first did pip install jupyterlab>=2.0.0
as per the docs, and got v3 installed automatically. After that when I ran jupyter labextension install jupyterlab-prodigy
, I kept getting the error JupyterLab failed to build
.
Here is my error log:
[LabBuildApp] Building in C:\Users\t724614\Anaconda3\share\jupyter\lab
[LabBuildApp] Node v14.17.2[LabBuildApp] Yarn configuration loaded.
[LabBuildApp] Building jupyterlab assets (production, minimized)
[LabBuildApp] > node C:\Users\t724614\Anaconda3\lib\site-packages\jupyterlab\staging\yarn.js install --non-interactive
[LabBuildApp] yarn install v1.21.1
[1/5] Validating package.json...
[2/5] Resolving packages...
success Already up-to-date.
Done in 0.73s.[LabBuildApp] > node C:\Users\t724614\Anaconda3\lib\site-packages\jupyterlab\staging\yarn.js yarn-deduplicate -s fewer --fail
[LabBuildApp] yarn run v1.21.1
$ C:\Users\t724614\Anaconda3\share\jupyter\lab\staging\node_modules.bin\yarn-deduplicate -s fewer --fail
Done in 0.70s.[LabBuildApp] > node C:\Users\t724614\Anaconda3\lib\site-packages\jupyterlab\staging\yarn.js run build:prod:minimize
[LabBuildApp] yarn run v1.21.1
$ webpack --config webpack.prod.minimize.config.js
assets by status 10.1 MiB e[1me[32m[cached]e[39me[22m 116 assets
orphan modules 4.72 MiB e[1me[33m[orphan]e[39me[22m 1253 modules
runtime modules 104 KiB 14 modules
built modules 13.4 MiB (javascript) 4.47 KiB (consume-shared) 4.43 KiB (share-init) e[1me[33m[built]e[39me[22m
modules by path e[1m./node_modules/e[39me[22m 13.3 MiB
cacheable modules 13.3 MiB 975 modules
3 modules
consume-shared-module modules 4.47 KiB
modules by path e[1mconsume shared module (default) @jupyterlab/e[39me[22m 3.53 KiB 41 modules
modules by path e[1mconsume shared module (default) @lumino/e[39me[22m 588 bytes 14 modules
provide-module modules 4.43 KiB 108 modules
modules by path e[1m./build/e[39me[22m 23.3 KiB
e[1m./build/bootstrap.jse[39me[22m 3.78 KiB e[1me[33m[built]e[39me[22m e[1me[33m[code generated]e[39me[22m
e[1m./build/index.out.js + 1 modulese[39me[22m 19.5 KiB e[1me[33m[built]e[39me[22m e[1me[33m[code generated]e[39me[22m
4 modulese[1me[33mWARNINGe[39me[22m in e[1m./node_modules/vega-lite/build/src/index.jse[39me[22m e[1me[32m5:0-30e[39me[22m
e[1mShould not import the named export 'version' (reexported as 'version') from default-exporting module (only default export is available soon)e[39me[22m
@ consume shared module (default) vega-lite@^4.0.2 (strict) (fallback: ./node_modules/vega-lite/build/src/index.js)
@ ./node_modules/vega-embed/build/vega-embed.module.js 6:0-44 189:15-29
@ consume shared module (default) vega-embed@^6.2.1 (strict) (fallback: ./node_modules/vega-embed/build/vega-embed.module.js)
@ ./node_modules/@jupyterlab/vega5-extension/lib/index.js 166:28-48
@ consume shared module (default) @jupyterlab/vega5-extension@~3.0.7 (strict) (fallback: ./node_modules/@jupyterlab/vega5-extension/lib/index.js)
@ ./build/index.out.js 171:16-54
@ ./build/bootstrap.jse[1me[31mERRORe[39me[22m in e[1me[32mresolving fallback for shared module jupyterlab-prodigye[39me[22m
e[1mModule e[1me[31mnot founde[39me[22me[1m: e[1me[31mErrore[39me[22me[1m: Can't resolve 'jupyterlab-prodigy' in 'C:\Users\t724614\Anaconda3\share\jupyter\lab\staging\build'e[39me[22m
resolve 'jupyterlab-prodigy' in 'C:\Users\t724614\Anaconda3\share\jupyter\lab\staging\build'
Parsed request is a module
using description file: C:\Users\t724614\Anaconda3\share\jupyter\lab\staging\build\package.json (relative path: .)
Field 'browser' doesn't contain a valid alias configuration
resolve as module
e[1me[31mC:\Users\t724614\Anaconda3\share\jupyter\lab\staging\build\node_modules doesn't existe[39me[22m or is not a directory
looking for modules in C:\Users\t724614\Anaconda3\share\jupyter\lab\staging\node_modules
single file module
using description file: C:\Users\t724614\Anaconda3\share\jupyter\lab\staging\package.json (relative path: ./node_modules/jupyterlab-prodigy)
no extension
Field 'browser' doesn't contain a valid alias configuration
C:\Users\t724614\Anaconda3\share\jupyter\lab\staging\node_modules\jupyterlab-prodigy is not a file
.js
Field 'browser' doesn't contain a valid alias configuration
e[1me[31mC:\Users\t724614\Anaconda3\share\jupyter\lab\staging\node_modules\jupyterlab-prodigy.js doesn't existe[39me[22m
.json
Field 'browser' doesn't contain a valid alias configuration
e[1me[31mC:\Users\t724614\Anaconda3\share\jupyter\lab\staging\node_modules\jupyterlab-prodigy.json doesn't existe[39me[22m
.wasm
Field 'browser' doesn't contain a valid alias configuration
e[1me[31mC:\Users\t724614\Anaconda3\share\jupyter\lab\staging\node_modules\jupyterlab-prodigy.wasm doesn't existe[39me[22m
existing directory C:\Users\t724614\Anaconda3\share\jupyter\lab\staging\node_modules\jupyterlab-prodigy
using description file: C:\Users\t724614\Anaconda3\share\jupyter\lab\staging\node_modules\jupyterlab-prodigy\package.json (relative path: .)
using description file: C:\Users\t724614\Anaconda3\share\jupyter\lab\staging\package.json (relative path: ./node_modules/jupyterlab-prodigy)
no extension
Field 'browser' doesn't contain a valid alias configuration
C:\Users\t724614\Anaconda3\share\jupyter\lab\staging\node_modules\jupyterlab-prodigy is not a file
.js
Field 'browser' doesn't contain a valid alias configuration
e[1me[31mC:\Users\t724614\Anaconda3\share\jupyter\lab\staging\node_modules\jupyterlab-prodigy.js doesn't existe[39me[22m
.json
Field 'browser' doesn't contain a valid alias configuration
e[1me[31mC:\Users\t724614\Anaconda3\share\jupyter\lab\staging\node_modules\jupyterlab-prodigy.json doesn't existe[39me[22m
.wasm
Field 'browser' doesn't contain a valid alias configuration
e[1me[31mC:\Users\t724614\Anaconda3\share\jupyter\lab\staging\node_modules\jupyterlab-prodigy.wasm doesn't existe[39me[22m
as directory
existing directory C:\Users\t724614\Anaconda3\share\jupyter\lab\staging\node_modules\jupyterlab-prodigy
using description file: C:\Users\t724614\Anaconda3\share\jupyter\lab\staging\node_modules\jupyterlab-prodigy\package.json (relative path: .)
use ./lib/index.js from main in package.json
using description file: C:\Users\t724614\Anaconda3\share\jupyter\lab\staging\node_modules\jupyterlab-prodigy\package.json (relative path: ./lib/index.js)
no extension
Field 'browser' doesn't contain a valid alias configuration
e[1me[31mC:\Users\t724614\Anaconda3\share\jupyter\lab\staging\node_modules\jupyterlab-prodigy\lib\index.js doesn't existe[39me[22m
.js
Field 'browser' doesn't contain a valid alias configuration
e[1me[31mC:\Users\t724614\Anaconda3\share\jupyter\lab\staging\node_modules\jupyterlab-prodigy\lib\index.js.js doesn't existe[39me[22m
.json
Field 'browser' doesn't contain a valid alias configuration
e[1me[31mC:\Users\t724614\Anaconda3\share\jupyter\lab\staging\node_modules\jupyterlab-prodigy\lib\index.js.json doesn't existe[39me[22m
.wasm
Field 'browser' doesn't contain a valid alias configuration
e[1me[31mC:\Users\t724614\Anaconda3\share\jupyter\lab\staging\node_modules\jupyterlab-prodigy\lib\index.js.wasm doesn't existe[39me[22m
as directory
e[1me[31mC:\Users\t724614\Anaconda3\share\jupyter\lab\staging\node_modules\jupyterlab-prodigy\lib\index.js doesn't existe[39me[22m
using path: C:\Users\t724614\Anaconda3\share\jupyter\lab\staging\node_modules\jupyterlab-prodigy\index
using description file: C:\Users\t724614\Anaconda3\share\jupyter\lab\staging\node_modules\jupyterlab-prodigy\package.json (relative path: ./index)
no extension
Field 'browser' doesn't contain a valid alias configuration
e[1me[31mC:\Users\t724614\Anaconda3\share\jupyter\lab\staging\node_modules\jupyterlab-prodigy\index doesn't existe[39me[22m
.js
Field 'browser' doesn't contain a valid alias configuration
e[1me[31mC:\Users\t724614\Anaconda3\share\jupyter\lab\staging\node_modules\jupyterlab-prodigy\index.js doesn't existe[39me[22m
.json
Field 'browser' doesn't contain a valid alias configuration
e[1me[31mC:\Users\t724614\Anaconda3\share\jupyter\lab\staging\node_modules\jupyterlab-prodigy\index.json doesn't existe[39me[22m
.wasm
Field 'browser' doesn't contain a valid alias configuration
e[1me[31mC:\Users\t724614\Anaconda3\share\jupyter\lab\staging\node_modules\jupyterlab-prodigy\index.wasm doesn't existe[39me[22m
e[1me[31mC:\Users\t724614\Anaconda3\share\jupyter\lab\node_modules doesn't existe[39me[22m or is not a directory
e[1me[31mC:\Users\t724614\Anaconda3\share\jupyter\node_modules doesn't existe[39me[22m or is not a directory
e[1me[31mC:\Users\t724614\Anaconda3\share\node_modules doesn't existe[39me[22m or is not a directory
e[1me[31mC:\Users\t724614\Anaconda3\node_modules doesn't existe[39me[22m or is not a directory
e[1me[31mC:\Users\t724614\node_modules doesn't existe[39me[22m or is not a directory
e[1me[31mC:\Users\node_modules doesn't existe[39me[22m or is not a directory
looking for modules in C:\node_modules
single file module
No description file found in C:\node_modules or above
no extension
Field 'browser' doesn't contain a valid alias configuration
e[1me[31mC:\node_modules\jupyterlab-prodigy doesn't existe[39me[22m
.js
Field 'browser' doesn't contain a valid alias configuration
e[1me[31mC:\node_modules\jupyterlab-prodigy.js doesn't existe[39me[22m
.json
Field 'browser' doesn't contain a valid alias configuration
e[1me[31mC:\node_modules\jupyterlab-prodigy.json doesn't existe[39me[22m
.wasm
Field 'browser' doesn't contain a valid alias configuration
e[1me[31mC:\node_modules\jupyterlab-prodigy.wasm doesn't existe[39me[22m
e[1me[31mC:\node_modules\jupyterlab-prodigy doesn't existe[39me[22mwebpack 5.31.2 compiled with e[1me[31m1 errore[39me[22m and e[1me[33m1 warninge[39me[22m in 47442 ms
asset e[1me[32mindex.csse[39me[22m 16.1 KiB e[1me[33m[compared for emit]e[39me[22m (name: index)
asset e[1me[32mindex.jse[39me[22m 0 bytes e[1me[33m[compared for emit]e[39me[22m e[1me[32m[minimized]e[39me[22m (name: index)
Entrypoint e[1mindexe[39me[22m 16.1 KiB = e[1me[32mindex.csse[39me[22m 16.1 KiB e[1me[32mindex.jse[39me[22m 0 bytes
e[1m./node_modules/@jupyterlab/theme-dark-extension/style/index.csse[39me[22m 50 bytes e[1me[33m[built]e[39me[22m e[1me[33m[code generated]e[39me[22m
css ./node_modules/css-loader/dist/cjs.js!e[1m./node_modules/@jupyterlab/theme-dark-extension/style/variables.csse[39me[22m 15.3 KiB e[1me[33m[code generated]e[39me[22m
css ./node_modules/css-loader/dist/cjs.js!e[1m./node_modules/@jupyterlab/theme-dark-extension/style/base.csse[39me[22m 472 bytes e[1me[33m[code generated]e[39me[22m
css ./node_modules/css-loader/dist/cjs.js!e[1m./node_modules/@jupyterlab/theme-dark-extension/style/index.csse[39me[22m 342 bytes e[1me[33m[code generated]e[39me[22m
webpack 5.31.2 compiled e[1me[32msuccessfullye[39me[22m in 2024 msasset e[1me[32mindex.csse[39me[22m 15 KiB e[1me[33m[compared for emit]e[39me[22m (name: index)
asset e[1me[32mindex.jse[39me[22m 0 bytes e[1me[33m[compared for emit]e[39me[22m e[1me[32m[minimized]e[39me[22m (name: index)
Entrypoint e[1mindexe[39me[22m 15 KiB = e[1me[32mindex.csse[39me[22m 15 KiB e[1me[32mindex.jse[39me[22m 0 bytes
e[1m./node_modules/@jupyterlab/theme-light-extension/style/index.csse[39me[22m 50 bytes e[1me[33m[built]e[39me[22m e[1me[33m[code generated]e[39me[22m
css ./node_modules/css-loader/dist/cjs.js!e[1m./node_modules/@jupyterlab/theme-light-extension/style/variables.csse[39me[22m 14.2 KiB e[1me[33m[code generated]e[39me[22m
css ./node_modules/css-loader/dist/cjs.js!e[1m./node_modules/@jupyterlab/theme-light-extension/style/base.csse[39me[22m 472 bytes e[1me[33m[code generated]e[39me[22m
css ./node_modules/css-loader/dist/cjs.js!e[1m./node_modules/@jupyterlab/theme-light-extension/style/index.csse[39me[22m 342 bytes e[1me[33m[code generated]e[39me[22m
webpack 5.31.2 compiled e[1me[32msuccessfullye[39me[22m in 1924 ms
error Command failed with exit code 1.
info Visit yarn run | Yarn for documentation about this command.[LabBuildApp] JupyterLab failed to build
[LabBuildApp] Traceback (most recent call last):[LabBuildApp] File "C:\Users\t724614\Anaconda3\lib\site-packages\jupyterlab\debuglog.py", line 47, in debug_logging
yield[LabBuildApp] File "C:\Users\t724614\Anaconda3\lib\site-packages\jupyterlab\labapp.py", line 166, in start
raise e[LabBuildApp] File "C:\Users\t724614\Anaconda3\lib\site-packages\jupyterlab\labapp.py", line 162, in start
build(name=self.name, version=self.version,[LabBuildApp] File "C:\Users\t724614\Anaconda3\lib\site-packages\jupyterlab\commands.py", line 469, in build
return handler.build(name=name, version=version, static_url=static_url,[LabBuildApp] File "C:\Users\t724614\Anaconda3\lib\site-packages\jupyterlab\commands.py", line 678, in build
raise RuntimeError(msg)[LabBuildApp] RuntimeError: JupyterLab failed to build
[LabBuildApp] Exiting application: JupyterLab
I found on another thread that the version of jupyterlab seems to be the issue, so I downgraded to jupyterlab v2.0.0 but then I got this warning:
jupyter labextension install jupyterlab-prodigy
An error occured.
Conflicting Dependencies:
JupyterLab Extension Package
> =3.0.11 <3.1.0 >=2.1.2 <3.0.0 @jupyterlab/application
> =3.0.9 <3.1.0 >=2.1.1 <3.0.0 @jupyterlab/apputils
> =3.0.9 <3.1.0 >=2.1.1 <3.0.0 @jupyterlab/launcher
> =3.0.6 <3.1.0 >=2.1.0 <3.0.0 @jupyterlab/settingregistry
I then updated back to JupyterLab v3.0.0 and when I checked jupyter labextention list
I got this:
JupyterLab v3.0.0
c:\users\t724614\anaconda3\share\jupyter\labextensions
@jupyter-widgets/jupyterlab-manager v3.0.0 enabled ok (python, jupyterlab_widgets)
Other labextensions (built into JupyterLab)
app dir: c:\users\t724614\anaconda3\share\jupyter\lab
jupyterlab-prodigy v2.0.0 enabled X
The following extension are outdated:
jupyterlab-prodigy
Consider running "jupyter labextension update --all" to check for updates.
When I ran jupyter labextension update --all
it told me "No compatible version found for jupyterlab-prodigy!"
The docs say JupyterLab v2.0.0 or higher work with prodigy, and yet the build seems to fail. When I try running it with a version older than 3.0.6, it tells me jupyterlab has conflicting dependences. Then when I update to another version, it tells me prodigy doesn't work. What version of jupyterlab should I be using for this to work? Can anyone tell me if there's something in the error log that points to a specific error you've encountered?