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 tried to build jupyterlab-lsp according to CONTRIBUTING.md but could not because the jlpm bootstrap did not complete successfully.
I have checked them individually and found the following scripts have errors.
jlpm deduplicate
lerna bootstrap
Note, running only jlpm build completed without error.
Reproduce
# git clone https://github.com/jupyter-lsp/jupyterlab-lsp.git
# cd jupyterlab-lsp
# conda env update -n jupyterlab-lsp --file binder/environment.yml
# conda activate jupyterlab-lsp
# bash binder/postBuild
+ jlpm bootstrap
Usage Error: Couldn't find the node_modules state file - running an install might help (findPackageLocation)
$ yarn run [--inspect] [--inspect-brk] [-T,--top-level] [-B,--binaries-only] <scriptName> ...
# jlpm
# bash binder/postBuild
+ jlpm bootstrap
[1] ➤ YN0000: ┌ Project validation
[1] ➤ YN0057: │ root-workspace-0b6124: 'nohoist' is deprecated, please use 'installConfig.hoistingLimits' instead
[1] ➤ YN0000: └ Completed
[1] ➤ YN0000: ┌ Resolution step
SyntaxError: Unknown token: { line: 3, col: 2, type: 'INVALID', value: undefined } 3:2 in lockfile
at Parser.unexpected (/jupyterlab-lsp/node_modules/@yarnpkg/lockfile/index.js:5064:11)
at Parser.parse (/jupyterlab-lsp/node_modules/@yarnpkg/lockfile/index.js:5193:14)
at parse (/jupyterlab-lsp/node_modules/@yarnpkg/lockfile/index.js:5262:17)
at module.exports.exports.default (/jupyterlab-lsp/node_modules/@yarnpkg/lockfile/index.js:4835:96)
at parseYarnLock (/jupyterlab-lsp/node_modules/yarn-deduplicate/dist/index.js:7:42)
at fixDuplicates (/jupyterlab-lsp/node_modules/yarn-deduplicate/dist/index.js:123:18)
at Object.<anonymous> (/jupyterlab-lsp/node_modules/yarn-deduplicate/dist/cli.js:52:60)
at Module._compile (node:internal/modules/cjs/loader:1254:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
at Module.load (node:internal/modules/cjs/loader:1117:32)
[1] ➤ YN0002: │ @jupyter-lsp/jupyterlab-lsp-example-extractor@workspace:packages/_example-extractor doesn't provide @codemirror/state (pb2869), requested by @jupyter-lsp/jupyterlab-lsp
[1] ➤ YN0002: │ @jupyter-lsp/jupyterlab-lsp-example-extractor@workspace:packages/_example-extractor doesn't provide @codemirror/view (pad4db), requested by @jupyter-lsp/jupyterlab-lsp
[1] ➤ YN0002: │ @jupyter-lsp/jupyterlab-lsp-metapackage@workspace:packages/metapackage doesn't provide @codemirror/state (p09a35), requested by @jupyter-lsp/jupyterlab-lsp
[1] ➤ YN0002: │ @jupyter-lsp/jupyterlab-lsp-metapackage@workspace:packages/metapackage doesn't provide @codemirror/view (p49198), requested by @jupyter-lsp/jupyterlab-lsp
[1] ➤ YN0002: │ @jupyter-lsp/jupyterlab-lsp@workspace:packages/jupyterlab-lsp doesn't provide @rjsf/utils (p61ef3), requested by @rjsf/validator-ajv8
[1] ➤ YN0002: │ @jupyter-lsp/jupyterlab-lsp@workspace:packages/jupyterlab-lsp [31461] doesn't provide @rjsf/utils (p3362a), requested by @rjsf/validator-ajv8
[1] ➤ YN0002: │ @jupyterlab/services@npm:7.0.5 doesn't provide react (p4d970), requested by @jupyterlab/settingregistry
[1] ➤ YN0002: │ @jupyterlab/services@npm:7.0.6 doesn't provide react (p142a3), requested by @jupyterlab/settingregistry
[1] ➤ YN0002: │ root-workspace-0b6124@workspace:. doesn't provide webpack (p227f7), requested by source-map-loader
[1] ➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code
[1] ➤ YN0000: └ Completed in 0s 381ms
[1] ➤ YN0000: ┌ Fetch step
[1] ➤ YN0000: └ Completed in 0s 412ms
[1] ➤ YN0000: ┌ Link step
[1] ➤ YN0000: └ Completed in 0s 608ms
[1] ➤ YN0000: Done with warnings in 1s 505ms
Job [1], 'jlpm' has ended
Run individual command:
# jlpm deduplicate
SyntaxError: Unknown token: { line: 3, col: 2, type: 'INVALID', value: undefined } 3:2 in lockfile
at Parser.unexpected (/jupyterlab-lsp/node_modules/@yarnpkg/lockfile/index.js:5064:11)
at Parser.parse (/jupyterlab-lsp/node_modules/@yarnpkg/lockfile/index.js:5193:14)
at parse (/jupyterlab-lsp/node_modules/@yarnpkg/lockfile/index.js:5262:17)
at module.exports.exports.default (/jupyterlab-lsp/node_modules/@yarnpkg/lockfile/index.js:4835:96)
at parseYarnLock (/jupyterlab-lsp/node_modules/yarn-deduplicate/dist/index.js:7:42)
at fixDuplicates (/jupyterlab-lsp/node_modules/yarn-deduplicate/dist/index.js:123:18)
at Object.<anonymous> (/jupyterlab-lsp/node_modules/yarn-deduplicate/dist/cli.js:52:60)
at Module._compile (node:internal/modules/cjs/loader:1254:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
at Module.load (node:internal/modules/cjs/loader:1117:32)
# jlpm lerna bootstrap
lerna notice cli v6.5.1
lerna info versioning independent
lerna info bootstrap root only
Unknown Syntax Error: Unsupported option name ("--mutex").
$ yarn install [--json] [--immutable] [--immutable-cache] [--check-cache] [--inline-builds] [--mode #0]
lerna ERR! yarn install --mutex network:42424 --non-interactive exited 1 in 'jupyterlab-lsp'
lerna ERR! yarn install --mutex network:42424 --non-interactive exited 1 in 'jupyterlab-lsp'
Expected behavior
The command (jlpm bootstrap) should be completed without error.
Context
I confirmed in this docker image
docker pull continuumio/miniconda3
docker run -i -t continuumio/miniconda3 /bin/bash
Paste the output from running `jupyter server extension list` (JupyterLab >= 3)
or `jupyter serverextension list` (JupyterLab < 3) from the command line here.
You may want to sanitize the paths in the output.
Required: installed lab extensions
Paste the output from running `jupyter labextension list` from the command line here.
You may want to sanitize the paths in the output.
Troubleshoot Output
Paste the output from running `jupyter troubleshoot` from the command line here.
You may want to sanitize the paths in the output.
Command Line Output
Paste the output from your command line running `jupyter lab` here, use `--debug` if possible.
Browser Output (recommended for all interface issues)
Paste the output from your browser JavaScript console replacing the text in here.
Description
I tried to build jupyterlab-lsp according to CONTRIBUTING.md but could not because the
jlpm bootstrap
did not complete successfully.I have checked them individually and found the following scripts have errors.
Note, running only
jlpm build
completed without error.Reproduce
Run individual command:
Expected behavior
The command (
jlpm bootstrap
) should be completed without error.Context
I confirmed in this docker image
Just after the
conda activate jupyterlab-lsp
:Required: installed server extensions
Required: installed lab extensions
Troubleshoot Output
Command Line Output
Browser Output (recommended for all interface issues)
The text was updated successfully, but these errors were encountered: