# JupyterLab failed to build

**URL:** <https://support.prodi.gy/t/jupyterlab-failed-to-build/4398>\
**Category:** Getting Started\
**Tags:** done, jupyter\
**Created:** [July 2, 2021, 5:38pm UTC](https://support.prodi.gy/t/jupyterlab-failed-to-build/4398 "2021-07-02T17:38:16Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![emilyboss](https://avatars.discourse-cdn.com/v4/letter/e/3be4f8/32.png) [@emilyboss](https://support.prodi.gy/u/emilyboss)\
**Post date:** [July 2, 2021, 5:38pm UTC](https://support.prodi.gy/t/jupyterlab-failed-to-build/4398/1 "2021-07-02T17:38:17Z")

</div>

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 modules
> 
> e[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.js
> 
> e[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[22m
> 
> webpack 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 ms
> 
> asset 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](https://yarnpkg.com/en/docs/cli/run) 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](https://support.prodi.gy/t/jupyterlab-version-for-prodigy-extension/4118) that the version of jupyterlab seems to be the issue, so I downgraded to jupyterlab v2.0.0 but then I got this warning:

```python
 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:

```python
 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?

---

<div class="post-metadata">

**Author:** ![ines](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/ines/32/3_2.png) [@ines](https://support.prodi.gy/u/ines)\
**Post date:** [July 5, 2021, 12:25am UTC](https://support.prodi.gy/t/jupyterlab-failed-to-build/4398/2 "2021-07-05T00:25:33Z")

</div>

Hi! Sorry this is so confusing – for every new version of JupyterLab, we ended up having to publish a new version of the extension. We tried to match the version number of the extension to the version of JupyterLab it's compatible with, so the extension v2.x should be compatible with JupyterLab v2.x, and v3.0 we just released last month should be compatible with JupyterLab v3.x.

So just to confirm, that error "JupyterLab failed to build" happens when you're trying to run JuptyerLab v3.x with the latest version of the Prodigy extension?

---

<div class="post-metadata">

**Author:** ![emilyboss](https://avatars.discourse-cdn.com/v4/letter/e/3be4f8/32.png) [@emilyboss](https://support.prodi.gy/u/emilyboss)\
**Post date:** [July 13, 2021, 6:51pm UTC](https://support.prodi.gy/t/jupyterlab-failed-to-build/4398/3 "2021-07-13T18:51:36Z")

</div>

Hi Ines, thank you for your response! Apologies for the late reply. Yes I am currently using JupyterLab v3.0.16 and I get "JupyterLab failed to build" when I try to run the command `jupyter labextension install jupyterlab-prodigy`  
which I assume is the latest version of the Prodigy extension. Any help you could provide is much appreciated!

---

<div class="post-metadata">

**Author:** ![emilyboss](https://avatars.discourse-cdn.com/v4/letter/e/3be4f8/32.png) [@emilyboss](https://support.prodi.gy/u/emilyboss)\
**Post date:** [July 13, 2021, 7:32pm UTC](https://support.prodi.gy/t/jupyterlab-failed-to-build/4398/4 "2021-07-13T19:32:48Z")

</div>

by the way, when i check `jupyter labextension list` is shows me this:

```python
JupyterLab v3.0.16
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 v3.0.0 enabled ok

Build recommended, please run `jupyter lab build`:
    jupyterlab-prodigy needs to be included in build

```

but then when I run `jupyter lab build` it fails with this error:

```python
An error occured.
RuntimeError: JupyterLab failed to build
See the log file for details: C:\...\Temp\jupyterlab-debug-hg43mt2n.log

```

The log file I get is similar to the one I posted in my original question, but looking through it I can't figure out what may be causing the problem

---

<div class="post-metadata">

**Author:** ![ines](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/ines/32/3_2.png) [@ines](https://support.prodi.gy/u/ines)\
**Post date:** [July 14, 2021, 3:10am UTC](https://support.prodi.gy/t/jupyterlab-failed-to-build/4398/5 "2021-07-14T03:10:28Z")

</div>

> [@emilyboss](#):
>
> ```python
> e[1me[31mERRORe[39me[22m in e[1me[32mresolving fallback for shared module jupyterlab-prodigye[39me[22m
> 
> ```

I'm just re-reading the error log again (ugh, Node errors are always so messy) and it looks like it seems to traverse all possible locations of your `node_modules`, trying to find the installed `jupyterlab-prodigy` extension and trying out all possible settings that could help it resolve it. But it doesn't seem to find it 🤔

What happens if you just run `npm install jupyterlab-prodigy` explicitly?

---

<div class="post-metadata">

**Author:** ![emilyboss](https://avatars.discourse-cdn.com/v4/letter/e/3be4f8/32.png) [@emilyboss](https://support.prodi.gy/u/emilyboss)\
**Post date:** [July 14, 2021, 4:31pm UTC](https://support.prodi.gy/t/jupyterlab-failed-to-build/4398/6 "2021-07-14T16:31:25Z")

</div>

Hmm is there a specific directory I should be trying to run `npm install jupyterlab-prodigy` in? It doesn't seem to let me install it in the root directory, I tried in the Anaconda3 folder and that seemed to work but still gives me the jupyterlab failed to build error when I run `jupyter labextension install jupyterlab-prodigy` or `jupyter lab build`

---

<div class="post-metadata">

**Author:** ![emilyboss](https://avatars.discourse-cdn.com/v4/letter/e/3be4f8/32.png) [@emilyboss](https://support.prodi.gy/u/emilyboss)\
**Post date:** [July 14, 2021, 6:37pm UTC](https://support.prodi.gy/t/jupyterlab-failed-to-build/4398/8 "2021-07-14T18:37:20Z")

</div>

So I tried running `npm install jupyterlab-prodigy` via the Anaconda IDE and it seemed to work, but when I ran the build again it said it failed. The error log looks different now though, I'm not sure if you're able to see anything in it that might give a clue:

```python
Node v14.17.3

Yarn configuration loaded.
> "C:\Program Files\nodejs\npm.CMD" pack jupyterlab-prodigy
npm notice 
npm notice package: jupyterlab-prodigy@3.0.0
npm notice === Tarball Contents === 
npm notice 2.1kB package.json      
npm notice 1.1kB LICENSE.txt       
npm notice 3.0kB README.md         
npm notice 839B schema/plugin.json
npm notice 942B style/docs.svg    
npm notice 9.4kB style/icon.png    
npm notice 385B style/index.css   
npm notice === Tarball Details === 
npm notice name: jupyterlab-prodigy                      
npm notice version: 3.0.0                                   
npm notice filename: jupyterlab-prodigy-3.0.0.tgz            
npm notice package size: 11.8 kB                                 
npm notice unpacked size: 17.8 kB                                 
npm notice shasum: aa24c3c0b698af4d713dc69716ae47a7d32fc010
npm notice integrity: sha512-FlqZ2P1j88sAn[...]YAubiT3oymS4A==
npm notice total files: 7                                       
npm notice 
jupyterlab-prodigy-3.0.0.tgz

Fetching URL: https://registry.yarnpkg.com/jupyterlab-prodigy
> "C:\Program Files\nodejs\npm.CMD" pack jupyterlab-prodigy@3.0.0
npm notice 
npm notice package: jupyterlab-prodigy@3.0.0
npm notice === Tarball Contents === 
npm notice 2.1kB package.json      
npm notice 1.1kB LICENSE.txt       
npm notice 3.0kB README.md         
npm notice 839B schema/plugin.json
npm notice 942B style/docs.svg    
npm notice 9.4kB style/icon.png    
npm notice 385B style/index.css   
npm notice === Tarball Details === 
npm notice name: jupyterlab-prodigy                      
npm notice version: 3.0.0                                   
npm notice filename: jupyterlab-prodigy-3.0.0.tgz            
npm notice package size: 11.8 kB                                 
npm notice unpacked size: 17.8 kB                                 
npm notice shasum: aa24c3c0b698af4d713dc69716ae47a7d32fc010
npm notice integrity: sha512-FlqZ2P1j88sAn[...]YAubiT3oymS4A==
npm notice total files: 7                                       
npm notice 
jupyterlab-prodigy-3.0.0.tgz

Node v14.17.3

Yarn configuration loaded.
Building jupyterlab assets (production, minimized)
> node C:\Users\t724614\Anaconda3\lib\site-packages\jupyterlab\staging\yarn.js install --non-interactive
yarn install v1.21.1
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/5] Validating package.json...
[2/5] Resolving packages...
success Already up-to-date.
Done in 3.97s.

> node C:\Users\t724614\Anaconda3\lib\site-packages\jupyterlab\staging\yarn.js yarn-deduplicate -s fewer --fail
yarn run v1.21.1
$ C:\Users\t724614\Anaconda3\share\jupyter\lab\staging\node_modules\.bin\yarn-deduplicate -s fewer --fail
Done in 3.11s.

> node C:\Users\t724614\Anaconda3\lib\site-packages\jupyterlab\staging\yarn.js run build:prod:minimize
yarn run v1.21.1
$ webpack --config webpack.prod.minimize.config.js
[webpack-cli] e[31mModuleNotFoundError: Module not found: Error: Can't resolve 'process/browser' in 'C:\Users\t724614\node_modules\@jupyterlab\coreutils\lib'
    at C:\Users\t724614\Anaconda3\share\jupyter\lab\staging\node_modules\webpack\lib\Compilation.js:1672:28
    at C:\Users\t724614\Anaconda3\share\jupyter\lab\staging\node_modules\webpack\lib\NormalModuleFactory.js:712:13
    at eval (eval at create (C:\Users\t724614\Anaconda3\share\jupyter\lab\staging\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:10:1)
    at C:\Users\t724614\Anaconda3\share\jupyter\lab\staging\node_modules\webpack\lib\NormalModuleFactory.js:273:22
    at eval (eval at create (C:\Users\t724614\Anaconda3\share\jupyter\lab\staging\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:9:1)
    at C:\Users\t724614\Anaconda3\share\jupyter\lab\staging\node_modules\webpack\lib\NormalModuleFactory.js:402:22
    at C:\Users\t724614\Anaconda3\share\jupyter\lab\staging\node_modules\webpack\lib\NormalModuleFactory.js:117:11
    at C:\Users\t724614\Anaconda3\share\jupyter\lab\staging\node_modules\webpack\lib\NormalModuleFactory.js:628:24
    at C:\Users\t724614\Anaconda3\share\jupyter\lab\staging\node_modules\webpack\lib\NormalModuleFactory.js:782:8
    at C:\Users\t724614\Anaconda3\share\jupyter\lab\staging\node_modules\webpack\lib\NormalModuleFactory.js:902:5
resolve 'process/browser' in 'C:\Users\t724614\node_modules\@jupyterlab\coreutils\lib'
  Parsed request is a module
  using description file: C:\Users\t724614\node_modules\@jupyterlab\coreutils\package.json (relative path: ./lib)
    resolve as module
      C:\Users\t724614\node_modules\@jupyterlab\coreutils\lib\node_modules doesn't exist or is not a directory
      C:\Users\t724614\node_modules\@jupyterlab\coreutils\node_modules doesn't exist or is not a directory
      C:\Users\t724614\node_modules\@jupyterlab\node_modules doesn't exist or is not a directory
      C:\Users\t724614\node_modules\node_modules doesn't exist or is not a directory
      looking for modules in C:\Users\t724614\node_modules
        C:\Users\t724614\node_modules\process doesn't exist
      C:\Users\node_modules doesn't exist or is not a directory
      looking for modules in C:\node_modules
        C:\node_modules\process doesn't exist
    aliased with mapping 'process': 'C:\Users\t724614\Anaconda3\share\jupyter\lab\staging\node_modules\process\browser.js' to 'C:\Users\t724614\Anaconda3\share\jupyter\lab\staging\node_modules\process\browser.js/browser'
      using description file: C:\Users\t724614\node_modules\@jupyterlab\coreutils\package.json (relative path: ./lib)
        using description file: C:\Users\t724614\Anaconda3\share\jupyter\lab\staging\node_modules\process\package.json (relative path: ./browser.js/browser)
          no extension
            Field 'browser' doesn't contain a valid alias configuration
            C:\Users\t724614\Anaconda3\share\jupyter\lab\staging\node_modules\process\browser.js\browser doesn't exist
          .js
            Field 'browser' doesn't contain a valid alias configuration
            C:\Users\t724614\Anaconda3\share\jupyter\lab\staging\node_modules\process\browser.js\browser.js doesn't exist
          .json
            Field 'browser' doesn't contain a valid alias configuration
            C:\Users\t724614\Anaconda3\share\jupyter\lab\staging\node_modules\process\browser.js\browser.json doesn't exist
          .wasm
            Field 'browser' doesn't contain a valid alias configuration
            C:\Users\t724614\Anaconda3\share\jupyter\lab\staging\node_modules\process\browser.js\browser.wasm doesn't exist
          as directory
            C:\Users\t724614\Anaconda3\share\jupyter\lab\staging\node_modules\process\browser.js\browser doesn't existe[39m
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

JupyterLab failed to build
Traceback (most recent call last):

  File "C:\Users\t724614\Anaconda3\lib\site-packages\jupyterlab\debuglog.py", line 47, in debug_logging
    yield

  File "C:\Users\t724614\Anaconda3\lib\site-packages\jupyterlab\labextensions.py", line 133, in start
    build(clean_staging=self.should_clean,

  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,

  File "C:\Users\t724614\Anaconda3\lib\site-packages\jupyterlab\commands.py", line 678, in build
    raise RuntimeError(msg)

RuntimeError: JupyterLab failed to build

Exiting application: lab

```

---

<div class="post-metadata">

**Author:** ![ines](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/ines/32/3_2.png) [@ines](https://support.prodi.gy/u/ines)\
**Post date:** [July 15, 2021, 12:31am UTC](https://support.prodi.gy/t/jupyterlab-failed-to-build/4398/9 "2021-07-15T00:31:38Z")

</div>

Yay, at least this looks like progress 😅

> [@emilyboss](#):
>
> Hmm is there a specific directory I should be trying to run `npm install jupyterlab-prodigy` in?

I think you can just run `npm install` from anywhere and it'll install the package into your global node modules (kinda like how Python installs into the system Python by default). You can also run `npm init` to make your current working directory an npm project, and then install with `npm install --save` to install the packages into a `node_modules` the local directory (which is more like a virtual environment in Python, I guess). But I think the way you did it is totally fine.

> [@emilyboss](#):
>
> ```python
> [webpack-cli] e[31mModuleNotFoundError: Module not found: Error: Can't resolve 'process/browser' in 'C:\Users\t724614\node_modules\@jupyterlab\coreutils\lib'
> 
> ```

This looks more like a general Node/Webpack/JupyterLab issue now 🤔 I googled it and everything I found was mostly around Node compatibility, so I wonder if maybe upgrading Node helps? Can you check `node --version` and see what you have? If this looks old (lower than 10 or 11), maybe you could try upgrading Node.

---

<div class="post-metadata">

**Author:** ![emilyboss](https://avatars.discourse-cdn.com/v4/letter/e/3be4f8/32.png) [@emilyboss](https://support.prodi.gy/u/emilyboss)\
**Post date:** [July 15, 2021, 5:15pm UTC](https://support.prodi.gy/t/jupyterlab-failed-to-build/4398/10 "2021-07-15T17:15:29Z")

</div>

I was thinking it might be a webpack issue as well too, but I wasn't sure what that would mean exactly. My version of Node is up to date at v14.17.3

---

<div class="post-metadata">

**Author:** ![ines](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/ines/32/3_2.png) [@ines](https://support.prodi.gy/u/ines)\
**Post date:** [July 19, 2021, 1:06am UTC](https://support.prodi.gy/t/jupyterlab-failed-to-build/4398/11 "2021-07-19T01:06:34Z")

</div>

Hmm, strange – I wish I could be more helpful! I was looking around and found a reference to a fix related to `process/browser` in the changelog for v3.1.0b2 of JupyterLab here: [JupyterLab Changelog — JupyterLab 3.1.0rc1 documentation](https://jupyterlab.readthedocs.io/en/stable/getting_started/changelog.html#b2) So maybe you could try and upgrade JupyterLab and see if that helps?

---

<div class="post-metadata">

**Author:** ![aball123](https://avatars.discourse-cdn.com/v4/letter/a/a587f6/32.png) [@aball123](https://support.prodi.gy/u/aball123)\
**Post date:** [July 27, 2021, 4:39am UTC](https://support.prodi.gy/t/jupyterlab-failed-to-build/4398/12 "2021-07-27T04:39:11Z")

</div>

@emilyboss , did you ever find a solution to this? I'm having the same issue.

---

<div class="post-metadata">

**Author:** ![rfrade](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/rfrade/32/2310_2.png) [@rfrade](https://support.prodi.gy/u/rfrade)\
**Post date:** [August 1, 2021, 1:43am UTC](https://support.prodi.gy/t/jupyterlab-failed-to-build/4398/13 "2021-08-01T01:43:26Z")

</div>

same issue here

---

<div class="post-metadata">

**Author:** ![emilyboss](https://avatars.discourse-cdn.com/v4/letter/e/3be4f8/32.png) [@emilyboss](https://support.prodi.gy/u/emilyboss)\
**Post date:** [August 2, 2021, 4:31pm UTC](https://support.prodi.gy/t/jupyterlab-failed-to-build/4398/14 "2021-08-02T16:31:53Z")

</div>

no 😔 but i haven't had too much time to work with it the last week, so i will update this thread if i figure anything out! let me know if you get somewhere with it 🙂

---

<div class="post-metadata">

**Author:** ![ruiyeNLP](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/ruiyenlp/32/2305_2.png) [@ruiyeNLP](https://support.prodi.gy/u/ruiyeNLP)\
**Post date:** [August 6, 2021, 1:47am UTC](https://support.prodi.gy/t/jupyterlab-failed-to-build/4398/15 "2021-08-06T01:47:40Z")

</div>

Hey Ines, same problem here with command 'jupyter lab build --dev-build=False --minimize=False' Could you please have a look at the error log?

 ![Screenshot 2021-08-06 at 03.45.50](https://us1.discourse-cdn.com/flex020/uploads/prodigy/original/2X/d/d76c3b01a723026f56a1d07a0f9f1e77d11fc67d.png)  
 ![Screenshot 2021-08-06 at 03.46.03](https://us1.discourse-cdn.com/flex020/uploads/prodigy/original/2X/c/cd88c7ab68be26df23c0fdd3349a5ae4a647b22b.png)

---

<div class="post-metadata">

**Author:** ![PINS\_1](https://avatars.discourse-cdn.com/v4/letter/p/91b2a8/32.png) [@PINS\_1](https://support.prodi.gy/u/PINS_1)\
**Post date:** [August 27, 2021, 7:58am UTC](https://support.prodi.gy/t/jupyterlab-failed-to-build/4398/16 "2021-08-27T07:58:00Z")

</div>

Having the same problem here with prodigy 1.11, jupyterlab 3.1.9 and nodejs v16.6.1. I have a version working (with some hacks) for prodigy 1.10.7, jupyterlab 2.2.6 and nodejs v15.12.0. Unlike emilyboss though the npm install command doesn't seem to change anything for me. I can definitely add other jupyterlab extensions and compile the installation fine, it's just something with this extension which is causing me problems. Can I revert to the same jupyterlab version I am using for my older Prodigy version or are there dependencies on the newer v3? Earlier posts would suggest this doesn't work, but just double checking I've understood correctly!

---

<div class="post-metadata">

**Author:** ![Zim1-finest](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/zim1-finest/32/2533_2.png) [@Zim1-finest](https://support.prodi.gy/u/Zim1-finest)\
**Post date:** [November 8, 2021, 12:55pm UTC](https://support.prodi.gy/t/jupyterlab-failed-to-build/4398/17 "2021-11-08T12:55:25Z")

</div>

Has anyone found a solution yet?

I have the exact same problem as Emily

---

<div class="post-metadata">

**Author:** ![Zim1-finest](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/zim1-finest/32/2533_2.png) [@Zim1-finest](https://support.prodi.gy/u/Zim1-finest)\
**Post date:** [November 11, 2021, 12:36pm UTC](https://support.prodi.gy/t/jupyterlab-failed-to-build/4398/18 "2021-11-11T12:36:32Z")

</div>

I have found a solution to my problem.

Apparently I had to use `jupyterlab>=2.0.0,<3.0.0`. For some reason I had not seen this part before posting and so I spent the whole day getting the errors described above.

@PINS_1 if you are still working with Jupyterlab, just downgrade your version and then it should work

I hope this will help someone as well.

---

<div class="post-metadata">

**Author:** ![ljvmiranda921](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/ljvmiranda921/32/3197_2.png) [@ljvmiranda921](https://support.prodi.gy/u/ljvmiranda921)\
**Post date:** [November 11, 2021, 10:56pm UTC](https://support.prodi.gy/t/jupyterlab-failed-to-build/4398/19 "2021-11-11T22:56:47Z")

</div>

Hi @Zim1-finest , sorry for taking a while. Yes, I can confirm that that is indeed the solution. The [README](https://github.com/explosion/jupyterlab-prodigy) has already been updated. For those who have conflicting dependencies, I highly recommend installing it in a clean environment (a virtualenv, etc.).

We're currently in the process of releasing a Jupyterlab\>=3.0 compatible extension, so stay tuned!

---

<div class="post-metadata">

**Author:** ![ljvmiranda921](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/ljvmiranda921/32/3197_2.png) [@ljvmiranda921](https://support.prodi.gy/u/ljvmiranda921)\
**Post date:** [November 16, 2021, 1:26am UTC](https://support.prodi.gy/t/jupyterlab-failed-to-build/4398/20 "2021-11-16T01:26:45Z")

</div>

Hi folks,

**We just released a new version of jupyterlab-prodigy (4.0.0)**. It is now compatible with newer versions of Jupyterlab (\>=3.0.0). You can try it out by running:

```python
pip install jupyterlab-prodigy

```

For **older Jupyterlab versions** (\>=2.0.0, \<3.0.0), install jupyterlab-prodigy@3.0.0:

```python
jupyter labextension install jupyterlab-prodigy@3.0.0

```

If you encountered any bugs or questions, feel free to open an Issue / Discussion here or at the [Github page](https://github.com/explosion/jupyterlab-prodigy).

---

<div class="post-metadata">

**Author:** ![Vadym\_Kostyuk](https://avatars.discourse-cdn.com/v4/letter/v/fbc32d/32.png) [@Vadym\_Kostyuk](https://support.prodi.gy/u/Vadym_Kostyuk)\
**Post date:** [June 14, 2022, 5:46pm UTC](https://support.prodi.gy/t/jupyterlab-failed-to-build/4398/21 "2022-06-14T17:46:05Z")

</div>

Hi @ljvmiranda921, trying your code to install the prodigy for jupyterlab, such error has occurred

"An error occurred.  
ValueError: "jupyterlab-prodigy@3.0.0" is not a valid extension:  
Missing extension module "lib/index.js"  
"

maybe you have ideas on how to solve this. Or are there new versions to install now?

[Next page](https://support.prodi.gy/t/jupyterlab-failed-to-build/4398.md?page=2)
