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.

Jupyterlab fails to build

See original GitHub issue

I Installed jupyterlab in a conda R environment. First I made sure that repr is installed:

(R) C:\Users\Johannes.Wiesner>conda list repr
# packages in environment at C:\Users\Johannes.Wiesner\Miniconda3\envs\R:
#
# Name                    Version                   Build  Channel
r-repr                    0.19.2            r36h6115d3f_0
r-reprex                  0.2.1             r36h6115d3f_0

Then I wanted to use the recommended installation method via pip but I ended up with issue #211 (I also installed node.js before that using conda install.

I then wanted to use jupyter labextension install @lckr/jupyterlab_variableinspector but this gives me this error:

(R) C:\Users\Johannes.Wiesner>jupyter labextension install @lckr/jupyterlab_variableinspector
Building jupyterlab assets (production, minimized)
An error occurred.
RuntimeError: JupyterLab failed to build
See the log file for details:  C:\Users\JOHANN~1.WIE\AppData\Local\Temp\jupyterlab-debug-_jo0ubmr.log

Technical details:

  • Windows 10
  • jupyterlab 3.2.8 using Miniconda

Here’s the full log file:

Node v17.4.0

Yarn configuration loaded.
> C:\Users\Johannes.Wiesner\Miniconda3\envs\R\npm.CMD pack @lckr/jupyterlab_variableinspector
npm notice 
npm notice package: @lckr/jupyterlab_variableinspector@3.0.9
npm notice === Tarball Contents === 
npm notice 1.5kB LICENSE        
npm notice 4.0kB README.md      
npm notice 2.6kB package.json   
npm notice 0B    style/base.css 
npm notice 1.3kB style/index.css
npm notice 21B   style/index.js 
npm notice === Tarball Details === 
npm notice name:          @lckr/jupyterlab_variableinspector          
npm notice version:       3.0.9                                       
npm notice filename:      @lckr/jupyterlab_variableinspector-3.0.9.tgz
npm notice package size:  3.9 kB                                      
npm notice unpacked size: 9.5 kB                                      
npm notice shasum:        1c922fa2fd13c5ab0fe365f1a5bad69869887811    
npm notice integrity:     sha512-o0kx+iDORrxaN[...]6qvwpD8dLit3w==    
npm notice total files:   6                                           
npm notice 
lckr-jupyterlab_variableinspector-3.0.9.tgz

Fetching URL: https://registry.yarnpkg.com/@lckr%2Fjupyterlab_variableinspector
> C:\Users\Johannes.Wiesner\Miniconda3\envs\R\npm.CMD pack @lckr/jupyterlab_variableinspector@3.0.9
npm notice 
npm notice package: @lckr/jupyterlab_variableinspector@3.0.9
npm notice === Tarball Contents === 
npm notice 1.5kB LICENSE        
npm notice 4.0kB README.md      
npm notice 2.6kB package.json   
npm notice 0B    style/base.css 
npm notice 1.3kB style/index.css
npm notice 21B   style/index.js 
npm notice === Tarball Details === 
npm notice name:          @lckr/jupyterlab_variableinspector          
npm notice version:       3.0.9                                       
npm notice filename:      @lckr/jupyterlab_variableinspector-3.0.9.tgz
npm notice package size:  3.9 kB                                      
npm notice unpacked size: 9.5 kB                                      
npm notice shasum:        1c922fa2fd13c5ab0fe365f1a5bad69869887811    
npm notice integrity:     sha512-o0kx+iDORrxaN[...]6qvwpD8dLit3w==    
npm notice total files:   6                                           
npm notice 
lckr-jupyterlab_variableinspector-3.0.9.tgz

Node v17.4.0

Yarn configuration loaded.
Building jupyterlab assets (production, minimized)
> node C:\Users\Johannes.Wiesner\Miniconda3\envs\R\lib\site-packages\jupyterlab\staging\yarn.js install --non-interactive
yarn install v1.21.1
[1/5] Validating package.json...
[2/5] Resolving packages...
success Already up-to-date.
Done in 0.50s.

> node C:\Users\Johannes.Wiesner\Miniconda3\envs\R\lib\site-packages\jupyterlab\staging\yarn.js yarn-deduplicate -s fewer --fail
yarn run v1.21.1
$ C:\Users\Johannes.Wiesner\Miniconda3\envs\R\share\jupyter\lab\staging\node_modules\.bin\yarn-deduplicate -s fewer --fail
Done in 0.44s.

> node C:\Users\Johannes.Wiesner\Miniconda3\envs\R\lib\site-packages\jupyterlab\staging\yarn.js run build:prod:minimize
yarn run v1.21.1
$ webpack --config webpack.prod.minimize.config.js
assets by status 10.6 MiB [cached] 122 assets
orphan modules 5.04 MiB [orphan] 1284 modules
runtime modules 108 KiB 14 modules
built modules 14.1 MiB (javascript) 4.63 KiB (consume-shared) 4.59 KiB (share-init) [built]
  modules by path ./node_modules/ 14.1 MiB
    javascript modules 14 MiB 1043 modules
    json modules 33.2 KiB 6 modules
  consume-shared-module modules 4.63 KiB
    modules by path consume shared module (default) @jupyterlab/ 3.65 KiB 42 modules
    modules by path consume shared module (default) @lumino/ 588 bytes 14 modules
  provide-module modules 4.59 KiB 112 modules
  modules by path ./build/ 23.8 KiB
    ./build/bootstrap.js 3.86 KiB [built] [code generated]
    ./build/index.out.js + 1 modules 19.9 KiB [built] [code generated]

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/application-extension. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/application. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/apputils-extension. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/apputils. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/attachments. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/cells. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/celltags-extension. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/celltags. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/codeeditor. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/codemirror-extension. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/codemirror. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/completer-extension. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/completer. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/console-extension. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/console. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/coreutils. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/csvviewer-extension. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/csvviewer. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/debugger-extension. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/debugger. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/docmanager-extension. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/docmanager. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/docprovider-extension. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/docprovider. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/docregistry. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/documentsearch-extension. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/documentsearch. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/extensionmanager-extension. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/extensionmanager. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/filebrowser-extension. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/filebrowser. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/fileeditor-extension. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/fileeditor. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/help-extension. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/htmlviewer-extension. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/htmlviewer. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/hub-extension. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/imageviewer-extension. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/imageviewer. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/inspector-extension. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/inspector. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/javascript-extension. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/json-extension. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/launcher-extension. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/launcher. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/logconsole-extension. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/logconsole. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/mainmenu-extension. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/mainmenu. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/markdownviewer-extension. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/markdownviewer. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/mathjax2-extension. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/mathjax2. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/nbformat. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/notebook-extension. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/notebook. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/observables. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/outputarea. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/pdf-extension. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/property-inspector. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/rendermime-extension. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/rendermime-interfaces. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/rendermime. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/running-extension. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/running. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/services. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/settingeditor-extension. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/settingeditor. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/settingregistry. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/shared-models. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/shortcuts-extension. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/statedb. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/statusbar-extension. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/statusbar. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/terminal-extension. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/terminal. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/theme-dark-extension. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/theme-light-extension. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/toc-extension. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/toc. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/tooltip-extension. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/tooltip. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/translation-extension. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/translation. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/ui-components-extension. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/ui-components. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/vdom-extension. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/vdom. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @jupyterlab/vega5-extension. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for vega-lite. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for @lumino/keyboard. Use the licenseTextOverrides option to add the license text if desired.

WARNING in license-webpack-plugin: could not find any license file for gud. Use the licenseTextOverrides option to add the license text if desired.

ERROR in resolving fallback for shared module @lckr/jupyterlab_variableinspector
Module not found: Error: Can't resolve '@lckr/jupyterlab_variableinspector' in 'C:\Users\Johannes.Wiesner\Miniconda3\envs\R\share\jupyter\lab\staging\build'
resolve '@lckr/jupyterlab_variableinspector' in 'C:\Users\Johannes.Wiesner\Miniconda3\envs\R\share\jupyter\lab\staging\build'
  Parsed request is a module
  using description file: C:\Users\Johannes.Wiesner\Miniconda3\envs\R\share\jupyter\lab\staging\build\package.json (relative path: .)
    Field 'browser' doesn't contain a valid alias configuration
    resolve as module
      C:\Users\Johannes.Wiesner\Miniconda3\envs\R\share\jupyter\lab\staging\build\node_modules doesn't exist or is not a directory
      looking for modules in C:\Users\Johannes.Wiesner\Miniconda3\envs\R\share\jupyter\lab\staging\node_modules
        single file module
          using description file: C:\Users\Johannes.Wiesner\Miniconda3\envs\R\share\jupyter\lab\staging\package.json (relative path: ./node_modules/@lckr/jupyterlab_variableinspector)
            no extension
              Field 'browser' doesn't contain a valid alias configuration
              C:\Users\Johannes.Wiesner\Miniconda3\envs\R\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector is not a file
            .js
              Field 'browser' doesn't contain a valid alias configuration
              C:\Users\Johannes.Wiesner\Miniconda3\envs\R\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector.js doesn't exist
            .json
              Field 'browser' doesn't contain a valid alias configuration
              C:\Users\Johannes.Wiesner\Miniconda3\envs\R\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector.json doesn't exist
            .wasm
              Field 'browser' doesn't contain a valid alias configuration
              C:\Users\Johannes.Wiesner\Miniconda3\envs\R\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector.wasm doesn't exist
        existing directory C:\Users\Johannes.Wiesner\Miniconda3\envs\R\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector
          using description file: C:\Users\Johannes.Wiesner\Miniconda3\envs\R\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector\package.json (relative path: .)
            using description file: C:\Users\Johannes.Wiesner\Miniconda3\envs\R\share\jupyter\lab\staging\package.json (relative path: ./node_modules/@lckr/jupyterlab_variableinspector)
              no extension
                Field 'browser' doesn't contain a valid alias configuration
                C:\Users\Johannes.Wiesner\Miniconda3\envs\R\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector is not a file
              .js
                Field 'browser' doesn't contain a valid alias configuration
                C:\Users\Johannes.Wiesner\Miniconda3\envs\R\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector.js doesn't exist
              .json
                Field 'browser' doesn't contain a valid alias configuration
                C:\Users\Johannes.Wiesner\Miniconda3\envs\R\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector.json doesn't exist
              .wasm
                Field 'browser' doesn't contain a valid alias configuration
                C:\Users\Johannes.Wiesner\Miniconda3\envs\R\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector.wasm doesn't exist
              as directory
                existing directory C:\Users\Johannes.Wiesner\Miniconda3\envs\R\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector
                  using description file: C:\Users\Johannes.Wiesner\Miniconda3\envs\R\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector\package.json (relative path: .)
                    use ./lib/index.js from main in package.json
                      using description file: C:\Users\Johannes.Wiesner\Miniconda3\envs\R\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector\package.json (relative path: ./lib/index.js)
                        no extension
                          Field 'browser' doesn't contain a valid alias configuration
                          C:\Users\Johannes.Wiesner\Miniconda3\envs\R\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector\lib\index.js doesn't exist
                        .js
                          Field 'browser' doesn't contain a valid alias configuration
                          C:\Users\Johannes.Wiesner\Miniconda3\envs\R\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector\lib\index.js.js doesn't exist
                        .json
                          Field 'browser' doesn't contain a valid alias configuration
                          C:\Users\Johannes.Wiesner\Miniconda3\envs\R\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector\lib\index.js.json doesn't exist
                        .wasm
                          Field 'browser' doesn't contain a valid alias configuration
                          C:\Users\Johannes.Wiesner\Miniconda3\envs\R\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector\lib\index.js.wasm doesn't exist
                        as directory
                          C:\Users\Johannes.Wiesner\Miniconda3\envs\R\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector\lib\index.js doesn't exist
                    using path: C:\Users\Johannes.Wiesner\Miniconda3\envs\R\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector\index
                      using description file: C:\Users\Johannes.Wiesner\Miniconda3\envs\R\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector\package.json (relative path: ./index)
                        no extension
                          Field 'browser' doesn't contain a valid alias configuration
                          C:\Users\Johannes.Wiesner\Miniconda3\envs\R\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector\index doesn't exist
                        .js
                          Field 'browser' doesn't contain a valid alias configuration
                          C:\Users\Johannes.Wiesner\Miniconda3\envs\R\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector\index.js doesn't exist
                        .json
                          Field 'browser' doesn't contain a valid alias configuration
                          C:\Users\Johannes.Wiesner\Miniconda3\envs\R\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector\index.json doesn't exist
                        .wasm
                          Field 'browser' doesn't contain a valid alias configuration
                          C:\Users\Johannes.Wiesner\Miniconda3\envs\R\share\jupyter\lab\staging\node_modules\@lckr\jupyterlab_variableinspector\index.wasm doesn't exist
      C:\Users\Johannes.Wiesner\Miniconda3\envs\R\share\jupyter\lab\node_modules doesn't exist or is not a directory
      C:\Users\Johannes.Wiesner\Miniconda3\envs\R\share\jupyter\node_modules doesn't exist or is not a directory
      C:\Users\Johannes.Wiesner\Miniconda3\envs\R\share\node_modules doesn't exist or is not a directory
      looking for modules in C:\Users\Johannes.Wiesner\Miniconda3\envs\R\node_modules
        single file module
          No description file found in C:\Users\Johannes.Wiesner\Miniconda3\envs\R\node_modules\@lckr or above
          no extension
            Field 'browser' doesn't contain a valid alias configuration
            C:\Users\Johannes.Wiesner\Miniconda3\envs\R\node_modules\@lckr\jupyterlab_variableinspector doesn't exist
          .js
            Field 'browser' doesn't contain a valid alias configuration
            C:\Users\Johannes.Wiesner\Miniconda3\envs\R\node_modules\@lckr\jupyterlab_variableinspector.js doesn't exist
          .json
            Field 'browser' doesn't contain a valid alias configuration
            C:\Users\Johannes.Wiesner\Miniconda3\envs\R\node_modules\@lckr\jupyterlab_variableinspector.json doesn't exist
          .wasm
            Field 'browser' doesn't contain a valid alias configuration
            C:\Users\Johannes.Wiesner\Miniconda3\envs\R\node_modules\@lckr\jupyterlab_variableinspector.wasm doesn't exist
        C:\Users\Johannes.Wiesner\Miniconda3\envs\R\node_modules\@lckr\jupyterlab_variableinspector doesn't exist
      C:\Users\Johannes.Wiesner\Miniconda3\envs\node_modules doesn't exist or is not a directory
      C:\Users\Johannes.Wiesner\Miniconda3\node_modules doesn't exist or is not a directory
      C:\Users\Johannes.Wiesner\node_modules doesn't exist or is not a directory
      C:\Users\node_modules doesn't exist or is not a directory
      C:\node_modules doesn't exist or is not a directory

webpack 5.44.0 compiled with 1 error and 92 warnings in 30024 ms

asset index.css 15.8 KiB [compared for emit] (name: index)
asset index.js 0 bytes [compared for emit] [minimized] (name: index)
Entrypoint index 15.8 KiB = index.css 15.8 KiB index.js 0 bytes
./node_modules/@jupyterlab/theme-dark-extension/style/theme.css 50 bytes [built] [code generated]
css ./node_modules/css-loader/dist/cjs.js!./node_modules/@jupyterlab/theme-dark-extension/style/variables.css 15.3 KiB [code generated]
css ./node_modules/css-loader/dist/cjs.js!./node_modules/@jupyterlab/theme-dark-extension/style/theme.css 472 bytes [code generated]
webpack 5.44.0 compiled successfully in 2117 ms

asset index.css 14.7 KiB [compared for emit] (name: index)
asset index.js 0 bytes [compared for emit] [minimized] (name: index)
Entrypoint index 14.7 KiB = index.css 14.7 KiB index.js 0 bytes
./node_modules/@jupyterlab/theme-light-extension/style/theme.css 50 bytes [built] [code generated]
css ./node_modules/css-loader/dist/cjs.js!./node_modules/@jupyterlab/theme-light-extension/style/variables.css 14.3 KiB [code generated]
css ./node_modules/css-loader/dist/cjs.js!./node_modules/@jupyterlab/theme-light-extension/style/theme.css 472 bytes [code generated]
webpack 5.44.0 compiled successfully in 2043 ms
error Command failed with exit code 1.
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\Johannes.Wiesner\Miniconda3\envs\R\lib\site-packages\jupyterlab\debuglog.py", line 48, in debug_logging
    yield

  File "C:\Users\Johannes.Wiesner\Miniconda3\envs\R\lib\site-packages\jupyterlab\labextensions.py", line 141, in start
    production = production, minimize = self.minimize, app_options=app_options)

  File "C:\Users\Johannes.Wiesner\Miniconda3\envs\R\lib\site-packages\jupyterlab\commands.py", line 483, in build
    production=production, minimize=minimize, clean_staging=clean_staging)

  File "C:\Users\Johannes.Wiesner\Miniconda3\envs\R\lib\site-packages\jupyterlab\commands.py", line 695, in build
    raise RuntimeError(msg)

RuntimeError: JupyterLab failed to build

Exiting application: lab

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:5

github_iconTop GitHub Comments

1reaction
giacomolancianocommented, Feb 25, 2022

Had a similar issue when trying to install via jupyter labextension within a conda env on WSL (Ubuntu 18.04). I prefer to avoid using pip in a conda env, so I worked around that by installing this conda package instead:

https://github.com/conda-forge/jupyterlab-variableinspector-feedstock

Not a big fan of using a conda version of a package maintained by others than the package’s original author, but for now it works like a charm. Hope it helps in your case as well!

0reactions
JohannesWiesnercommented, Mar 1, 2022

Had a similar issue when trying to install via jupyter labextension within a conda env on WSL (Ubuntu 18.04). I prefer to avoid using pip in a conda env, so I worked around that by installing this conda package instead:

https://github.com/conda-forge/jupyterlab-variableinspector-feedstock

Not a big fan of using a conda version of a package maintained by others than the package’s original author, but for now it works like a charm. Hope it helps in your case as well!

The installation at least worked now, thanks for the hint! Unfortunately, I think I am stuck with a new issue now. I can open the variable inspector now (and I can see all the variables with proper attributes), but I cannot click on / inspect any of the variables. Could be related to #130 or #224

Read more comments on GitHub >

github_iconTop Results From Across the Web

RuntimeError: JupyterLab failed to build - Stack Overflow
Based on similar issues, I believe there is a memory issue that needs to be addressed. That said, I cannot identify the location...
Read more >
Jupyter lab failed to build - extensions
I am trying to install extensions to Jupyter Lab on my Mac but it always fails to build. Example with jupyterlab_variableinspector.
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 TensorFlow 2.3 Build Failed with 524 - Issue Tracker
Build failed with 524. ... If you specifically intended to install a source extension, please run 'jupyter lab build' on the server for...
Read more >
Installing JupyterHub extensions - Cloudron Forum
An error occured. RuntimeError: JupyterLab failed to build See the log file for details: /tmp/jupyterlab-debug-dk5alq3x.log.
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