You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use provided in repository Dockerfile to build. jupyter labextension install . command in it (from setup.sh) failed.
It is not verbose, so I run jupyter labextension install --debug .:
$ /opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules/.bin/yarn-deduplicate -s fewer --fail
Done in 0.63s.
> node /opt/conda/envs/beakerx/lib/python3.8/site-packages/jupyterlab/staging/yarn.js run build:dev:minimize
-yarn run v1.21.1
$ jlpm run build:dev
$ jlpm run build
$ webpack
ModuleNotFoundError: Module not found: Error: Can't resolve '@phosphor/datagrid' in '/opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules/beakerx-jupyterlab/lib'
at factory.create (/opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules/webpack/lib/Compilation.js:925:10)
at factory (/opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules/webpack/lib/NormalModuleFactory.js:401:22)
at resolver (/opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules/webpack/lib/NormalModuleFactory.js:130:21)
at asyncLib.parallel (/opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules/webpack/lib/NormalModuleFactory.js:224:22)
at /opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules/neo-async/async.js:2830:7
at /opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules/neo-async/async.js:6877:13
at normalResolver.resolve (/opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules/webpack/lib/NormalModuleFactory.js:214:25)
at doResolve (/opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules/enhanced-resolve/lib/Resolver.js:213:14)
at hook.callAsync (/opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules/enhanced-resolve/lib/Resolver.js:285:5)
at _fn0 (eval at create (/opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:15:1)
at resolver.doResolve (/opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules/enhanced-resolve/lib/UnsafeCachePlugin.js:44:7)
at hook.callAsync (/opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules/enhanced-resolve/lib/Resolver.js:285:5)
at _fn0 (eval at create (/opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:15:1)
at hook.callAsync (/opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules/enhanced-resolve/lib/Resolver.js:285:5)
at _fn0 (eval at create (/opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:27:1)
at resolver.doResolve (/opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules/enhanced-resolve/lib/DescriptionFilePlugin.js:67:43)
at hook.callAsync (/opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules/enhanced-resolve/lib/Resolver.js:285:5)
at _fn42 (eval at create (/opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:28:1)
at resolver.doResolve (/opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules/enhanced-resolve/lib/ModuleKindPlugin.js:30:40)
at hook.callAsync (/opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules/enhanced-resolve/lib/Resolver.js:285:5)
at _fn0 (eval at create (/opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:15:1)
at hook.callAsync (/opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules/enhanced-resolve/lib/Resolver.js:285:5)
at _fn0 (eval at create (/opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:15:1)
at args (/opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules/enhanced-resolve/lib/forEachBail.js:30:14)
at hook.callAsync (/opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules/enhanced-resolve/lib/Resolver.js:285:5)
at _fn0 (eval at create (/opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:15:1)
at resolver.doResolve (/opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules/enhanced-resolve/lib/UnsafeCachePlugin.js:44:7)
at hook.callAsync (/opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules/enhanced-resolve/lib/Resolver.js:285:5)
at _fn0 (eval at create (/opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:15:1)
at hook.callAsync (/opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules/enhanced-resolve/lib/Resolver.js:285:5)
at _fn0 (eval at create (/opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:27:1)
at resolver.doResolve (/opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules/enhanced-resolve/lib/DescriptionFilePlugin.js:67:43)
at hook.callAsync (/opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules/enhanced-resolve/lib/Resolver.js:285:5)
at _fn43 (eval at create (/opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:16:1)
at hook.callAsync (/opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules/enhanced-resolve/lib/Resolver.js:285:5)
at _fn0 (eval at create (/opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:27:1)
resolve '@phosphor/datagrid' in '/opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules/beakerx-jupyterlab/lib'
Parsed request is a module
using description file: /opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules/beakerx-jupyterlab/package.json (relative path: ./lib)
Field 'browser' doesn't contain a valid alias configuration
resolve as module
/opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules/beakerx-jupyterlab/lib/node_modules doesn't exist or is not a directory
/opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules/beakerx-jupyterlab/node_modules doesn't exist or is not a directory
/opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules/node_modules doesn't exist or is not a directory
/opt/conda/envs/beakerx/share/jupyter/lab/node_modules doesn't exist or is not a directory
/opt/conda/envs/beakerx/share/jupyter/node_modules doesn't exist or is not a directory
/opt/conda/envs/beakerx/share/node_modules doesn't exist or is not a directory
/opt/conda/envs/beakerx/node_modules doesn't exist or is not a directory
/opt/conda/envs/node_modules doesn't exist or is not a directory
/opt/conda/node_modules doesn't exist or is not a directory
/opt/node_modules doesn't exist or is not a directory
/node_modules doesn't exist or is not a directory
looking for modules in /opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules
using description file: /opt/conda/envs/beakerx/share/jupyter/lab/staging/package.json (relative path: ./node_modules)
Field 'browser' doesn't contain a valid alias configuration
using description file: /opt/conda/envs/beakerx/share/jupyter/lab/staging/package.json (relative path: ./node_modules/@phosphor/datagrid)
no extension
Field 'browser' doesn't contain a valid alias configuration
/opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules/@phosphor/datagrid doesn't exist
.wasm
Field 'browser' doesn't contain a valid alias configuration
/opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules/@phosphor/datagrid.wasm doesn't exist
.mjs
Field 'browser' doesn't contain a valid alias configuration
/opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules/@phosphor/datagrid.mjs doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
/opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules/@phosphor/datagrid.js doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
/opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules/@phosphor/datagrid.json doesn't exist
as directory
/opt/conda/envs/beakerx/share/jupyter/lab/staging/node_modules/@phosphor/datagrid doesn't exist
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
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 "/opt/conda/envs/beakerx/lib/python3.8/site-packages/jupyterlab/debuglog.py", line 47, in debug_logging
yield
File "/opt/conda/envs/beakerx/lib/python3.8/site-packages/jupyterlab/labextensions.py", line 104, in start
build(clean_staging=self.should_clean,
File "/opt/conda/envs/beakerx/lib/python3.8/site-packages/jupyterlab/commands.py", line 459, in build
return handler.build(name=name, version=version, static_url=static_url,
File "/opt/conda/envs/beakerx/lib/python3.8/site-packages/jupyterlab/commands.py", line 661, in build
raise RuntimeError(msg)
RuntimeError: JupyterLab failed to build
An error occured.
RuntimeError: JupyterLab failed to build
See the log file for details: /tmp/jupyterlab-debug-5zkgnqst.log
Exiting application: jupyter
The text was updated successfully, but these errors were encountered:
I use provided in repository
Dockerfile
to build.jupyter labextension install .
command in it (fromsetup.sh
) failed.It is not verbose, so I run
jupyter labextension install --debug .
:The text was updated successfully, but these errors were encountered: