google / mesop

Rapidly build AI apps in Python
https://google.github.io/mesop/
Apache License 2.0
5.4k stars 259 forks source link

Dev Container not created successfully #445

Closed marklysze closed 3 months ago

marklysze commented 4 months ago

When VSCode is creating the Dev Container it fails.

To Reproduce Steps to reproduce the behaviour:

  1. git clone https://github.com/google/mesop
  2. cd mesop
  3. code .
  4. Choose "Reopen in Container"
  5. starts to build...
  6. Terminal shows errors for pre-commit and playwright
    
    ...
    Installing collected packages: distlib, nodeenv, identify, filelock, cfgv, virtualenv, pre-commit
    WARNING: The script nodeenv is installed in '/home/mesop-dev/.local/bin' which is not on PATH.
    Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
    WARNING: The script identify-cli is installed in '/home/mesop-dev/.local/bin' which is not on PATH.
    Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
    WARNING: The script virtualenv is installed in '/home/mesop-dev/.local/bin' which is not on PATH.
    Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
    WARNING: The script pre-commit is installed in '/home/mesop-dev/.local/bin' which is not on PATH.
    Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
    Successfully installed cfgv-3.4.0 distlib-0.3.8 filelock-3.15.1 identify-2.5.36 nodeenv-1.9.1 pre-commit-3.7.1 virtualenv-20.26.2

[notice] A new release of pip is available: 23.0.1 -> 24.0 [notice] To update, run: pip install --upgrade pip scripts/devcontainer_setup.sh: line 25: pre-commit: command not found yarn run v1.22.17 error Command "playwright" not found. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

What's next: Try Docker Debug for seamless, persistent debugging tools in any container or image → docker debug 2e01a09ba065cfeaa3cbb629054caa5e9114cb04da50d928a8beb54ee2321184 Learn more at https://docs.docker.com/go/debug-cli/ [164353 ms] postCreateCommand failed with exit code 1. Skipping any further user-provided commands.



**Expected behaviour**
Completes successfully.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop System Info**

- OS: Ubuntu 22.04.04 LTS
- VSCode 1.89.1
richard-to commented 4 months ago

Thanks for posting this bug. I think the interesting thing is here:

Installing collected packages: distlib, nodeenv, identify, filelock, cfgv, virtualenv, pre-commit
  WARNING: The script nodeenv is installed in '/home/mesop-dev/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script identify-cli is installed in '/home/mesop-dev/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script virtualenv is installed in '/home/mesop-dev/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script pre-commit is installed in '/home/mesop-dev/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.

I've run through this process locally (MacOS and on Github CodeSpaces) and it works fine (though there's a bug on Linux ARM builds of the image (#361).

The .local seems odd to me. In my Codespaces workspace, I don't see that directory. So I'm not sure why it was trying to install there.

Can you try a test run on Github Codespaces (sorry, haven't had a chance to write instructions yet). But roughly should be similar to what would happen using remote containers in vscode:

But mainly it involves clicking on the create codespaces button seen on this screenshot.

Screenshot 2024-06-09 at 4 44 26 PM

Then you'll need to wait for the set up to complete, which takes a long time (~15 minutes). That step below needs to complete before you can run mesop for development.

Screenshot 2024-06-09 at 4 47 22 PM
marklysze commented 4 months ago

Thanks for investigating @richard-to, I ran it in GitHub CodeSpaces and it looked to load okay: image

The only issues were noted in the "Git" Output logs. Path related. Not sure if this is a blocker:

2024-06-17 19:43:43.131 [info] Log level: Info
2024-06-17 19:43:43.131 [info] Validating found git in: "git"
2024-06-17 19:43:43.131 [info] Using git "2.30.2" from "git"
2024-06-17 19:43:43.131 [info] > git rev-parse --show-toplevel [596ms]
2024-06-17 19:43:43.131 [info] > git rev-parse --git-dir --git-common-dir [26ms]
2024-06-17 19:43:43.131 [info] Open repository: /workspaces/mesop
2024-06-17 19:43:59.617 [info] > git rev-parse --show-toplevel [16411ms]
2024-06-17 19:43:59.624 [info] > git config --get commit.template [16432ms]
2024-06-17 19:44:00.318 [info] > git check-ignore -v -z --stdin [450ms]
2024-06-17 19:44:00.327 [info] > git rev-parse --show-toplevel [414ms]
2024-06-17 19:44:00.509 [info] > git rev-parse --show-toplevel [142ms]
2024-06-17 19:44:00.519 [info] > git for-each-ref --format=%(refname)%00%(upstream:short)%00%(objectname)%00%(upstream:track)%00%(upstream:remotename)%00%(upstream:remoteref) refs/heads/main refs/remotes/main [206ms]
2024-06-17 19:44:00.548 [warning] ENOENT: no such file or directory, open '/workspaces/mesop/.git/refs/remotes/origin/main'
2024-06-17 19:44:00.611 [info] > git rev-parse --show-toplevel [72ms]
2024-06-17 19:44:01.008 [info] > git rev-parse refs/remotes/origin/main [460ms]
2024-06-17 19:44:01.322 [info] > git rev-parse --show-toplevel [680ms]
2024-06-17 19:44:01.392 [info] > git rev-parse --show-toplevel [20ms]
2024-06-17 19:44:01.538 [info] > git status -z -uall [508ms]
2024-06-17 19:44:01.538 [info] > git rev-parse --show-toplevel [85ms]
2024-06-17 19:44:01.746 [info] > git config --get commit.template [132ms]
2024-06-17 19:44:01.746 [info] > git rev-parse --show-toplevel [151ms]
2024-06-17 19:44:01.747 [info] > git merge-base refs/heads/main refs/remotes/origin/main [178ms]
2024-06-17 19:44:01.849 [info] > git rev-parse --show-toplevel [53ms]
2024-06-17 19:44:01.850 [info] > git rev-list --count --left-right refs/heads/main...refs/remotes/origin/main [73ms]
2024-06-17 19:44:01.941 [info] > git for-each-ref --format=%(refname)%00%(upstream:short)%00%(objectname)%00%(upstream:track)%00%(upstream:remotename)%00%(upstream:remoteref) refs/heads/main refs/remotes/main [93ms]
2024-06-17 19:44:01.976 [warning] ENOENT: no such file or directory, open '/workspaces/mesop/.git/refs/remotes/origin/main'
2024-06-17 19:44:01.977 [info] > git rev-parse --show-toplevel [84ms]
2024-06-17 19:44:01.977 [info] > git diff --name-status -z --diff-filter=ADMR e1ee74aae984e200fe755589bf2fbb6824260d6d...refs/remotes/origin/main [101ms]
2024-06-17 19:44:02.010 [info] > git rev-parse refs/remotes/origin/main [34ms]
2024-06-17 19:44:02.136 [info] > git rev-parse --show-toplevel [127ms]
2024-06-17 19:44:02.239 [info] > git rev-parse --show-toplevel [46ms]
2024-06-17 19:44:02.277 [warning] Failed to get repository realpath for: "/workspaces/mesop/third_party/angular_components". Error: ENOENT: no such file or directory, realpath '/workspaces/mesop/third_party/angular_components'
marklysze commented 4 months ago

@richard-to, I've just noticed that there are errors earlier on and they may be permission related. I tried working with Gemini to see what the errors could be. It didn't give me a solution, but it did add sudo to the apt-get list in Dockerfile, allow no password on it (RUN echo "mesop-dev ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers), and then added some permissions and installed yarn with sudo in devcontainer_setup.sh:

...
# Set permissions for the entire workspace
sudo chmod -R 755 /workspaces/mesop
...

# Install playwright
sudo yarn install # Use sudo for yarn install to avoid permission errors
yarn playwright install

This did seem to get the install through.

Here are the errors on the original files:

Running the postCreateCommand from devcontainer.json...

[8647 ms] Start: Run in container: /bin/sh -c bash scripts/devcontainer_setup.sh
scripts/devcontainer_setup.sh: line 8: sudo: command not found
2024/06/17 20:46:43 Downloading https://releases.bazel.build/6.4.0/release/bazel-6.4.0-linux-x86_64...
Downloading: 52 MB out of 52 MB (100%) 
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
yarn install v1.22.17
[1/5] Validating package.json...
[2/5] Resolving packages...
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@7.0.4"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@7.0.4"
warning Resolution field "typescript@5.4.2" is incompatible with requested version "typescript@5.4.5"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@7.0.4"
warning Resolution field "browser-sync-client@2.26.13" is incompatible with requested version "browser-sync-client@^3.0.2"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^2.2.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^2.2.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.1"
warning Resolution field "typescript@5.4.2" is incompatible with requested version "typescript@~4.9.0"
warning Resolution field "typescript@5.4.2" is incompatible with requested version "typescript@~4.5.4"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.3"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.2"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^2.2.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^4.0.0"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^4.0.0"
[3/5] Fetching packages...
[4/5] Linking dependencies...
warning " > rxjs-tslint-rules@4.34.8" has incorrect peer dependency "typescript@^2.3.0 || ^3.0.0 || ^4.0.0".
warning "rxjs-tslint-rules > @phenomnomnominal/tsquery@4.2.0" has incorrect peer dependency "typescript@^3 || ^4".
warning "rxjs-tslint-rules > tsutils-etc@1.4.1" has incorrect peer dependency "typescript@^4.0.0".
warning " > @angular/bazel@16.0.0-next.6" has incorrect peer dependency "@angular/compiler-cli@16.0.0-next.6+sha-3b863dd".
warning " > @angular/bazel@16.0.0-next.6" has incorrect peer dependency "@rollup/plugin-commonjs@^24.0.0".
warning " > @angular/bazel@16.0.0-next.6" has incorrect peer dependency "typescript@>=4.9.3 <5.1".
warning "@angular/bazel > tsickle@0.46.3" has incorrect peer dependency "typescript@~4.7.2".
warning " > @bazel/concatjs@5.8.1" has unmet peer dependency "karma-junit-reporter@>=2.0.0".
warning " > @bazel/terser@5.8.1" has incorrect peer dependency "terser@>=4.0.0 <5.9.0".
warning "@angular/build-tooling > @angular/benchpress > @angular/core@14.3.0" has incorrect peer dependency "zone.js@~0.11.4 || ~0.12.0".
warning " > tsickle@0.39.1" has incorrect peer dependency "typescript@~3.9.5".
error Could not write file "/workspaces/mesop/yarn-error.log": "EACCES: permission denied, open '/workspaces/mesop/yarn-error.log'"
error An unexpected error occurred: "EACCES: permission denied, mkdir '/workspaces/mesop/node_modules'".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
INFO: Repository npm instantiated at:
  /workspaces/mesop/WORKSPACE:209:13: in <toplevel>
  /home/mesop-dev/.cache/bazel/_bazel_mesop-dev/6511b964879fd41b17eb92351f2b069c/external/build_bazel_rules_nodejs/index.bzl:83:18: in yarn_install
Repository rule yarn_install defined at:
  /home/mesop-dev/.cache/bazel/_bazel_mesop-dev/6511b964879fd41b17eb92351f2b069c/external/build_bazel_rules_nodejs/internal/npm_install/npm_install.bzl:1002:31: in <toplevel>
ERROR: An error occurred during the fetch of repository 'npm':
   Traceback (most recent call last):
        File "/home/mesop-dev/.cache/bazel/_bazel_mesop-dev/6511b964879fd41b17eb92351f2b069c/external/build_bazel_rules_nodejs/internal/npm_install/npm_install.bzl", line 993, column 13, in _yarn_install_impl
                fail("yarn_install failed: %s (%s)" % (result.stdout, result.stderr))
Error in fail: yarn_install failed: yarn install v1.22.17
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
[4/5] Linking dependencies...
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
 (warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@7.0.4"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@7.0.4"
warning Resolution field "typescript@5.4.2" is incompatible with requested version "typescript@5.4.5"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@7.0.4"
warning Resolution field "browser-sync-client@2.26.13" is incompatible with requested version "browser-sync-client@^3.0.2"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^2.2.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^2.2.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.1"
warning Resolution field "typescript@5.4.2" is incompatible with requested version "typescript@~4.9.0"
warning Resolution field "typescript@5.4.2" is incompatible with requested version "typescript@~4.5.4"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.3"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.2"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^2.2.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^4.0.0"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^4.0.0"
warning " > rxjs-tslint-rules@4.34.8" has incorrect peer dependency "typescript@^2.3.0 || ^3.0.0 || ^4.0.0".
warning "rxjs-tslint-rules > @phenomnomnominal/tsquery@4.2.0" has incorrect peer dependency "typescript@^3 || ^4".
warning "rxjs-tslint-rules > tsutils-etc@1.4.1" has incorrect peer dependency "typescript@^4.0.0".
warning " > @angular/bazel@16.0.0-next.6" has incorrect peer dependency "@angular/compiler-cli@16.0.0-next.6+sha-3b863dd".
warning " > @angular/bazel@16.0.0-next.6" has incorrect peer dependency "@rollup/plugin-commonjs@^24.0.0".
warning " > @angular/bazel@16.0.0-next.6" has incorrect peer dependency "typescript@>=4.9.3 <5.1".
warning "@angular/bazel > tsickle@0.46.3" has incorrect peer dependency "typescript@~4.7.2".
warning " > @bazel/concatjs@5.8.1" has unmet peer dependency "karma-junit-reporter@>=2.0.0".
warning " > @bazel/terser@5.8.1" has incorrect peer dependency "terser@>=4.0.0 <5.9.0".
warning "@angular/build-tooling > @angular/benchpress > @angular/core@14.3.0" has incorrect peer dependency "zone.js@~0.11.4 || ~0.12.0".
warning " > tsickle@0.39.1" has incorrect peer dependency "typescript@~3.9.5".
error Could not write file "/workspaces/mesop/yarn-error.log": "EACCES: permission denied, open '/workspaces/mesop/yarn-error.log'"
error An unexpected error occurred: "EACCES: permission denied, mkdir '/workspaces/mesop/node_modules'".
)
ERROR: /workspaces/mesop/WORKSPACE:209:13: fetching yarn_install rule //external:npm: Traceback (most recent call last):
        File "/home/mesop-dev/.cache/bazel/_bazel_mesop-dev/6511b964879fd41b17eb92351f2b069c/external/build_bazel_rules_nodejs/internal/npm_install/npm_install.bzl", line 993, column 13, in _yarn_install_impl
                fail("yarn_install failed: %s (%s)" % (result.stdout, result.stderr))
Error in fail: yarn_install failed: yarn install v1.22.17
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
[4/5] Linking dependencies...
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
 (warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@7.0.4"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@7.0.4"
warning Resolution field "typescript@5.4.2" is incompatible with requested version "typescript@5.4.5"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@7.0.4"
warning Resolution field "browser-sync-client@2.26.13" is incompatible with requested version "browser-sync-client@^3.0.2"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^2.2.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^2.2.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.1"
warning Resolution field "typescript@5.4.2" is incompatible with requested version "typescript@~4.9.0"
warning Resolution field "typescript@5.4.2" is incompatible with requested version "typescript@~4.5.4"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.3"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.2"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^2.2.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^4.0.0"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^4.0.0"
warning " > rxjs-tslint-rules@4.34.8" has incorrect peer dependency "typescript@^2.3.0 || ^3.0.0 || ^4.0.0".
warning "rxjs-tslint-rules > @phenomnomnominal/tsquery@4.2.0" has incorrect peer dependency "typescript@^3 || ^4".
warning "rxjs-tslint-rules > tsutils-etc@1.4.1" has incorrect peer dependency "typescript@^4.0.0".
warning " > @angular/bazel@16.0.0-next.6" has incorrect peer dependency "@angular/compiler-cli@16.0.0-next.6+sha-3b863dd".
warning " > @angular/bazel@16.0.0-next.6" has incorrect peer dependency "@rollup/plugin-commonjs@^24.0.0".
warning " > @angular/bazel@16.0.0-next.6" has incorrect peer dependency "typescript@>=4.9.3 <5.1".
warning "@angular/bazel > tsickle@0.46.3" has incorrect peer dependency "typescript@~4.7.2".
warning " > @bazel/concatjs@5.8.1" has unmet peer dependency "karma-junit-reporter@>=2.0.0".
warning " > @bazel/terser@5.8.1" has incorrect peer dependency "terser@>=4.0.0 <5.9.0".
warning "@angular/build-tooling > @angular/benchpress > @angular/core@14.3.0" has incorrect peer dependency "zone.js@~0.11.4 || ~0.12.0".
warning " > tsickle@0.39.1" has incorrect peer dependency "typescript@~3.9.5".
error Could not write file "/workspaces/mesop/yarn-error.log": "EACCES: permission denied, open '/workspaces/mesop/yarn-error.log'"
error An unexpected error occurred: "EACCES: permission denied, mkdir '/workspaces/mesop/node_modules'".
)
ERROR: Error computing the main repository mapping: no such package '@npm//@bazel/protractor': yarn_install failed: yarn install v1.22.17
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
[4/5] Linking dependencies...
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
 (warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@7.0.4"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@7.0.4"
warning Resolution field "typescript@5.4.2" is incompatible with requested version "typescript@5.4.5"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@7.0.4"
warning Resolution field "browser-sync-client@2.26.13" is incompatible with requested version "browser-sync-client@^3.0.2"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^2.2.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^2.2.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.1"
warning Resolution field "typescript@5.4.2" is incompatible with requested version "typescript@~4.9.0"
warning Resolution field "typescript@5.4.2" is incompatible with requested version "typescript@~4.5.4"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.3"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.2"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^2.2.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^4.0.0"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^4.0.0"
warning " > rxjs-tslint-rules@4.34.8" has incorrect peer dependency "typescript@^2.3.0 || ^3.0.0 || ^4.0.0".
warning "rxjs-tslint-rules > @phenomnomnominal/tsquery@4.2.0" has incorrect peer dependency "typescript@^3 || ^4".
warning "rxjs-tslint-rules > tsutils-etc@1.4.1" has incorrect peer dependency "typescript@^4.0.0".
warning " > @angular/bazel@16.0.0-next.6" has incorrect peer dependency "@angular/compiler-cli@16.0.0-next.6+sha-3b863dd".
warning " > @angular/bazel@16.0.0-next.6" has incorrect peer dependency "@rollup/plugin-commonjs@^24.0.0".
warning " > @angular/bazel@16.0.0-next.6" has incorrect peer dependency "typescript@>=4.9.3 <5.1".
warning "@angular/bazel > tsickle@0.46.3" has incorrect peer dependency "typescript@~4.7.2".
warning " > @bazel/concatjs@5.8.1" has unmet peer dependency "karma-junit-reporter@>=2.0.0".
warning " > @bazel/terser@5.8.1" has incorrect peer dependency "terser@>=4.0.0 <5.9.0".
warning "@angular/build-tooling > @angular/benchpress > @angular/core@14.3.0" has incorrect peer dependency "zone.js@~0.11.4 || ~0.12.0".
warning " > tsickle@0.39.1" has incorrect peer dependency "typescript@~3.9.5".
error Could not write file "/workspaces/mesop/yarn-error.log": "EACCES: permission denied, open '/workspaces/mesop/yarn-error.log'"
error An unexpected error occurred: "EACCES: permission denied, mkdir '/workspaces/mesop/node_modules'".
)
Loading: 
yarn install v1.22.17
[1/5] Validating package.json...
[2/5] Resolving packages...
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@7.0.4"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@7.0.4"
warning Resolution field "typescript@5.4.2" is incompatible with requested version "typescript@5.4.5"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@7.0.4"
warning Resolution field "browser-sync-client@2.26.13" is incompatible with requested version "browser-sync-client@^3.0.2"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^2.2.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^2.2.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.1"
warning Resolution field "typescript@5.4.2" is incompatible with requested version "typescript@~4.9.0"
warning Resolution field "typescript@5.4.2" is incompatible with requested version "typescript@~4.5.4"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.3"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.2"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^2.2.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^4.0.0"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^4.0.0"
[3/5] Fetching packages...
[4/5] Linking dependencies...
warning " > rxjs-tslint-rules@4.34.8" has incorrect peer dependency "typescript@^2.3.0 || ^3.0.0 || ^4.0.0".
warning "rxjs-tslint-rules > @phenomnomnominal/tsquery@4.2.0" has incorrect peer dependency "typescript@^3 || ^4".
warning "rxjs-tslint-rules > tsutils-etc@1.4.1" has incorrect peer dependency "typescript@^4.0.0".
warning " > @angular/bazel@16.0.0-next.6" has incorrect peer dependency "@angular/compiler-cli@16.0.0-next.6+sha-3b863dd".
warning " > @angular/bazel@16.0.0-next.6" has incorrect peer dependency "@rollup/plugin-commonjs@^24.0.0".
warning " > @angular/bazel@16.0.0-next.6" has incorrect peer dependency "typescript@>=4.9.3 <5.1".
warning "@angular/bazel > tsickle@0.46.3" has incorrect peer dependency "typescript@~4.7.2".
warning " > @bazel/concatjs@5.8.1" has unmet peer dependency "karma-junit-reporter@>=2.0.0".
warning " > @bazel/terser@5.8.1" has incorrect peer dependency "terser@>=4.0.0 <5.9.0".
warning "@angular/build-tooling > @angular/benchpress > @angular/core@14.3.0" has incorrect peer dependency "zone.js@~0.11.4 || ~0.12.0".
warning " > tsickle@0.39.1" has incorrect peer dependency "typescript@~3.9.5".
error Could not write file "/workspaces/mesop/yarn-error.log": "EACCES: permission denied, open '/workspaces/mesop/yarn-error.log'"
error An unexpected error occurred: "EACCES: permission denied, mkdir '/workspaces/mesop/node_modules'".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
INFO: Repository npm instantiated at:
  /workspaces/mesop/WORKSPACE:209:13: in <toplevel>
  /home/mesop-dev/.cache/bazel/_bazel_mesop-dev/6511b964879fd41b17eb92351f2b069c/external/build_bazel_rules_nodejs/index.bzl:83:18: in yarn_install
Repository rule yarn_install defined at:
  /home/mesop-dev/.cache/bazel/_bazel_mesop-dev/6511b964879fd41b17eb92351f2b069c/external/build_bazel_rules_nodejs/internal/npm_install/npm_install.bzl:1002:31: in <toplevel>
ERROR: An error occurred during the fetch of repository 'npm':
   Traceback (most recent call last):
        File "/home/mesop-dev/.cache/bazel/_bazel_mesop-dev/6511b964879fd41b17eb92351f2b069c/external/build_bazel_rules_nodejs/internal/npm_install/npm_install.bzl", line 993, column 13, in _yarn_install_impl
                fail("yarn_install failed: %s (%s)" % (result.stdout, result.stderr))
Error in fail: yarn_install failed: yarn install v1.22.17
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
[4/5] Linking dependencies...
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
 (warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@7.0.4"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@7.0.4"
warning Resolution field "typescript@5.4.2" is incompatible with requested version "typescript@5.4.5"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@7.0.4"
warning Resolution field "browser-sync-client@2.26.13" is incompatible with requested version "browser-sync-client@^3.0.2"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^2.2.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^2.2.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.1"
warning Resolution field "typescript@5.4.2" is incompatible with requested version "typescript@~4.9.0"
warning Resolution field "typescript@5.4.2" is incompatible with requested version "typescript@~4.5.4"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.3"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.2"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^2.2.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^4.0.0"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^4.0.0"
warning " > rxjs-tslint-rules@4.34.8" has incorrect peer dependency "typescript@^2.3.0 || ^3.0.0 || ^4.0.0".
warning "rxjs-tslint-rules > @phenomnomnominal/tsquery@4.2.0" has incorrect peer dependency "typescript@^3 || ^4".
warning "rxjs-tslint-rules > tsutils-etc@1.4.1" has incorrect peer dependency "typescript@^4.0.0".
warning " > @angular/bazel@16.0.0-next.6" has incorrect peer dependency "@angular/compiler-cli@16.0.0-next.6+sha-3b863dd".
warning " > @angular/bazel@16.0.0-next.6" has incorrect peer dependency "@rollup/plugin-commonjs@^24.0.0".
warning " > @angular/bazel@16.0.0-next.6" has incorrect peer dependency "typescript@>=4.9.3 <5.1".
warning "@angular/bazel > tsickle@0.46.3" has incorrect peer dependency "typescript@~4.7.2".
warning " > @bazel/concatjs@5.8.1" has unmet peer dependency "karma-junit-reporter@>=2.0.0".
warning " > @bazel/terser@5.8.1" has incorrect peer dependency "terser@>=4.0.0 <5.9.0".
warning "@angular/build-tooling > @angular/benchpress > @angular/core@14.3.0" has incorrect peer dependency "zone.js@~0.11.4 || ~0.12.0".
warning " > tsickle@0.39.1" has incorrect peer dependency "typescript@~3.9.5".
error Could not write file "/workspaces/mesop/yarn-error.log": "EACCES: permission denied, open '/workspaces/mesop/yarn-error.log'"
error An unexpected error occurred: "EACCES: permission denied, mkdir '/workspaces/mesop/node_modules'".
)
ERROR: /workspaces/mesop/WORKSPACE:209:13: fetching yarn_install rule //external:npm: Traceback (most recent call last):
        File "/home/mesop-dev/.cache/bazel/_bazel_mesop-dev/6511b964879fd41b17eb92351f2b069c/external/build_bazel_rules_nodejs/internal/npm_install/npm_install.bzl", line 993, column 13, in _yarn_install_impl
                fail("yarn_install failed: %s (%s)" % (result.stdout, result.stderr))
Error in fail: yarn_install failed: yarn install v1.22.17
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
[4/5] Linking dependencies...
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
 (warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@7.0.4"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@7.0.4"
warning Resolution field "typescript@5.4.2" is incompatible with requested version "typescript@5.4.5"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@7.0.4"
warning Resolution field "browser-sync-client@2.26.13" is incompatible with requested version "browser-sync-client@^3.0.2"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^2.2.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^2.2.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.1"
warning Resolution field "typescript@5.4.2" is incompatible with requested version "typescript@~4.9.0"
warning Resolution field "typescript@5.4.2" is incompatible with requested version "typescript@~4.5.4"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.3"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.2"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^2.2.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^4.0.0"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^4.0.0"
warning " > rxjs-tslint-rules@4.34.8" has incorrect peer dependency "typescript@^2.3.0 || ^3.0.0 || ^4.0.0".
warning "rxjs-tslint-rules > @phenomnomnominal/tsquery@4.2.0" has incorrect peer dependency "typescript@^3 || ^4".
warning "rxjs-tslint-rules > tsutils-etc@1.4.1" has incorrect peer dependency "typescript@^4.0.0".
warning " > @angular/bazel@16.0.0-next.6" has incorrect peer dependency "@angular/compiler-cli@16.0.0-next.6+sha-3b863dd".
warning " > @angular/bazel@16.0.0-next.6" has incorrect peer dependency "@rollup/plugin-commonjs@^24.0.0".
warning " > @angular/bazel@16.0.0-next.6" has incorrect peer dependency "typescript@>=4.9.3 <5.1".
warning "@angular/bazel > tsickle@0.46.3" has incorrect peer dependency "typescript@~4.7.2".
warning " > @bazel/concatjs@5.8.1" has unmet peer dependency "karma-junit-reporter@>=2.0.0".
warning " > @bazel/terser@5.8.1" has incorrect peer dependency "terser@>=4.0.0 <5.9.0".
warning "@angular/build-tooling > @angular/benchpress > @angular/core@14.3.0" has incorrect peer dependency "zone.js@~0.11.4 || ~0.12.0".
warning " > tsickle@0.39.1" has incorrect peer dependency "typescript@~3.9.5".
error Could not write file "/workspaces/mesop/yarn-error.log": "EACCES: permission denied, open '/workspaces/mesop/yarn-error.log'"
error An unexpected error occurred: "EACCES: permission denied, mkdir '/workspaces/mesop/node_modules'".
)
ERROR: Error computing the main repository mapping: no such package '@npm//@bazel/protractor': yarn_install failed: yarn install v1.22.17
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
[4/5] Linking dependencies...
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
 (warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@7.0.4"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@7.0.4"
warning Resolution field "typescript@5.4.2" is incompatible with requested version "typescript@5.4.5"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@7.0.4"
warning Resolution field "browser-sync-client@2.26.13" is incompatible with requested version "browser-sync-client@^3.0.2"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^2.2.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^2.2.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.1"
warning Resolution field "typescript@5.4.2" is incompatible with requested version "typescript@~4.9.0"
warning Resolution field "typescript@5.4.2" is incompatible with requested version "typescript@~4.5.4"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.3"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.2"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^2.2.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^4.0.0"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^4.0.0"
warning " > rxjs-tslint-rules@4.34.8" has incorrect peer dependency "typescript@^2.3.0 || ^3.0.0 || ^4.0.0".
warning "rxjs-tslint-rules > @phenomnomnominal/tsquery@4.2.0" has incorrect peer dependency "typescript@^3 || ^4".
warning "rxjs-tslint-rules > tsutils-etc@1.4.1" has incorrect peer dependency "typescript@^4.0.0".
warning " > @angular/bazel@16.0.0-next.6" has incorrect peer dependency "@angular/compiler-cli@16.0.0-next.6+sha-3b863dd".
warning " > @angular/bazel@16.0.0-next.6" has incorrect peer dependency "@rollup/plugin-commonjs@^24.0.0".
warning " > @angular/bazel@16.0.0-next.6" has incorrect peer dependency "typescript@>=4.9.3 <5.1".
warning "@angular/bazel > tsickle@0.46.3" has incorrect peer dependency "typescript@~4.7.2".
warning " > @bazel/concatjs@5.8.1" has unmet peer dependency "karma-junit-reporter@>=2.0.0".
warning " > @bazel/terser@5.8.1" has incorrect peer dependency "terser@>=4.0.0 <5.9.0".
warning "@angular/build-tooling > @angular/benchpress > @angular/core@14.3.0" has incorrect peer dependency "zone.js@~0.11.4 || ~0.12.0".
warning " > tsickle@0.39.1" has incorrect peer dependency "typescript@~3.9.5".
error Could not write file "/workspaces/mesop/yarn-error.log": "EACCES: permission denied, open '/workspaces/mesop/yarn-error.log'"
error An unexpected error occurred: "EACCES: permission denied, mkdir '/workspaces/mesop/node_modules'".
)
Loading: 
scripts/devcontainer_setup.sh: line 15: .cli.venv/bin/activate: No such file or directory
Defaulting to user installation because normal site-packages is not writeable
DEPRECATION: --no-binary currently disables reading from the cache of locally built wheels. In the future --no-binary will not influence the wheel cache. pip 23.1 will enforce this behaviour change. A possible replacement is to use the --no-cache-dir option. You can use the flag --use-feature=no-binary-enable-wheel-cache to test the upcoming behaviour. Discussion can be found at https://github.com/pypa/pip/issues/11453
Collecting absl-py==2.0.0
  Downloading absl_py-2.0.0-py3-none-any.whl (130 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 130.2/130.2 kB 5.4 MB/s eta 0:00:00
Collecting babel==2.13.1
  Downloading Babel-2.13.1-py3-none-any.whl (10.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.1/10.1 MB 12.9 MB/s eta 0:00:00
Collecting blinker==1.7.0
  Downloading blinker-1.7.0-py3-none-any.whl (13 kB)
Collecting certifi==2023.7.22
  Downloading certifi-2023.7.22-py3-none-any.whl (158 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 158.3/158.3 kB 13.6 MB/s eta 0:00:00
Collecting charset-normalizer==3.3.2
  Downloading charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (142 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 142.1/142.1 kB 21.9 MB/s eta 0:00:00
Collecting click==8.1.7
  Downloading click-8.1.7-py3-none-any.whl (97 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.9/97.9 kB 22.2 MB/s eta 0:00:00
Collecting colorama==0.4.6
  Downloading colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Collecting contourpy==1.2.0
  Downloading contourpy-1.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (310 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 310.7/310.7 kB 18.7 MB/s eta 0:00:00
Collecting cycler==0.12.1
  Downloading cycler-0.12.1-py3-none-any.whl (8.3 kB)
Collecting deepdiff==6.7.1
  Downloading deepdiff-6.7.1-py3-none-any.whl (76 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 76.6/76.6 kB 20.3 MB/s eta 0:00:00
Collecting exceptiongroup==1.1.3
  Downloading exceptiongroup-1.1.3-py3-none-any.whl (14 kB)
Collecting flask==3.0.0
  Downloading flask-3.0.0-py3-none-any.whl (99 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 99.7/99.7 kB 29.9 MB/s eta 0:00:00
Collecting fonttools==4.47.2
  Downloading fonttools-4.47.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.6/4.6 MB 10.0 MB/s eta 0:00:00
Collecting ghp-import==2.1.0
  Downloading ghp_import-2.1.0-py3-none-any.whl (11 kB)
Collecting griffe==0.36.9
  Downloading griffe-0.36.9-py3-none-any.whl (111 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 111.7/111.7 kB 7.1 MB/s eta 0:00:00
Collecting idna==3.7
  Downloading idna-3.7-py3-none-any.whl (66 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 66.8/66.8 kB 6.6 MB/s eta 0:00:00
Collecting iniconfig==2.0.0
  Downloading iniconfig-2.0.0-py3-none-any.whl (5.9 kB)
Collecting itsdangerous==2.1.2
  Downloading itsdangerous-2.1.2-py3-none-any.whl (15 kB)
Collecting jinja2==3.1.4
  Downloading jinja2-3.1.4-py3-none-any.whl (133 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.3/133.3 kB 28.1 MB/s eta 0:00:00
Collecting kiwisolver==1.4.5
  Downloading kiwisolver-1.4.5-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 13.5 MB/s eta 0:00:00
Collecting libcst==1.1.0
  Downloading libcst-1.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.2/3.2 MB 13.3 MB/s eta 0:00:00
Collecting markdown==3.5.1
  Downloading Markdown-3.5.1-py3-none-any.whl (102 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 102.2/102.2 kB 16.1 MB/s eta 0:00:00
Collecting markupsafe==2.1.3
  Downloading MarkupSafe-2.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)
Collecting matplotlib==3.8.2
  Downloading matplotlib-3.8.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.6/11.6 MB 11.5 MB/s eta 0:00:00
Collecting mergedeep==1.3.4
  Downloading mergedeep-1.3.4-py3-none-any.whl (6.4 kB)
Collecting mkdocs==1.5.3
  Downloading mkdocs-1.5.3-py3-none-any.whl (3.7 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.7/3.7 MB 13.3 MB/s eta 0:00:00
Collecting mkdocs-autorefs==0.5.0
  Downloading mkdocs_autorefs-0.5.0-py3-none-any.whl (9.6 kB)
Collecting mkdocs-material==9.4.8
  Downloading mkdocs_material-9.4.8-py3-none-any.whl (8.4 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.4/8.4 MB 13.1 MB/s eta 0:00:00
Collecting mkdocs-material-extensions==1.3
  Downloading mkdocs_material_extensions-1.3-py3-none-any.whl (8.6 kB)
Collecting mkdocstrings[python]==0.23.0
  Downloading mkdocstrings-0.23.0-py3-none-any.whl (25 kB)
Collecting mkdocstrings-python==1.7.3
  Downloading mkdocstrings_python-1.7.3-py3-none-any.whl (51 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 51.7/51.7 kB 12.1 MB/s eta 0:00:00
Collecting mypy-extensions==1.0.0
  Downloading mypy_extensions-1.0.0-py3-none-any.whl (4.7 kB)
Collecting mypy-protobuf==3.5.0
  Downloading mypy_protobuf-3.5.0-py3-none-any.whl (16 kB)
Collecting numpy==1.26.3
  Downloading numpy-1.26.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 18.2/18.2 MB 12.0 MB/s eta 0:00:00
Collecting ordered-set==4.1.0
  Downloading ordered_set-4.1.0-py3-none-any.whl (7.6 kB)
Collecting packaging==23.2
  Downloading packaging-23.2-py3-none-any.whl (53 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 53.0/53.0 kB 15.8 MB/s eta 0:00:00
Collecting paginate==0.5.6
  Downloading paginate-0.5.6.tar.gz (12 kB)
  Preparing metadata (setup.py) ... done
Collecting pandas==2.2.1
  Downloading pandas-2.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 13.0/13.0 MB 11.2 MB/s eta 0:00:00
Collecting pathspec==0.11.2
  Downloading pathspec-0.11.2-py3-none-any.whl (29 kB)
Collecting pillow==10.3.0
  Downloading pillow-10.3.0-cp310-cp310-manylinux_2_28_x86_64.whl (4.5 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.5/4.5 MB 12.0 MB/s eta 0:00:00
Collecting platformdirs==4.0.0
  Downloading platformdirs-4.0.0-py3-none-any.whl (17 kB)
Collecting pluggy==1.3.0
  Downloading pluggy-1.3.0-py3-none-any.whl (18 kB)
Collecting protobuf==4.25.0
  Downloading protobuf-4.25.0-cp37-abi3-manylinux2014_x86_64.whl (294 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 294.4/294.4 kB 15.9 MB/s eta 0:00:00
Collecting pydantic==1.10.13
  Downloading pydantic-1.10.13.tar.gz (348 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 348.3/348.3 kB 15.3 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Collecting pygments==2.16.1
  Downloading Pygments-2.16.1-py3-none-any.whl (1.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 14.0 MB/s eta 0:00:00
Collecting pymdown-extensions==10.4
  Downloading pymdown_extensions-10.4-py3-none-any.whl (240 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 240.8/240.8 kB 20.5 MB/s eta 0:00:00
Collecting pyparsing==3.1.1
  Downloading pyparsing-3.1.1-py3-none-any.whl (103 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 103.1/103.1 kB 23.2 MB/s eta 0:00:00
Collecting pytest==7.4.3
  Downloading pytest-7.4.3-py3-none-any.whl (325 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 325.1/325.1 kB 19.8 MB/s eta 0:00:00
Collecting python-dateutil==2.8.2
  Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 kB 18.3 MB/s eta 0:00:00
Collecting pytz==2024.1
  Downloading pytz-2024.1-py2.py3-none-any.whl (505 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 505.5/505.5 kB 15.1 MB/s eta 0:00:00
Collecting pyyaml==6.0.1
  Downloading PyYAML-6.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (705 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 705.5/705.5 kB 14.2 MB/s eta 0:00:00
Collecting pyyaml-env-tag==0.1
  Downloading pyyaml_env_tag-0.1-py3-none-any.whl (3.9 kB)
Collecting regex==2023.10.3
  Downloading regex-2023.10.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (773 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 773.9/773.9 kB 14.4 MB/s eta 0:00:00
Collecting requests==2.32.0
  Downloading requests-2.32.0-py3-none-any.whl (63 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.7/63.7 kB 19.4 MB/s eta 0:00:00
Collecting six==1.16.0
  Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting tomli==2.0.1
  Downloading tomli-2.0.1-py3-none-any.whl (12 kB)
Collecting types-protobuf==4.24.0.4
  Downloading types_protobuf-4.24.0.4-py3-none-any.whl (62 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.1/62.1 kB 17.8 MB/s eta 0:00:00
Collecting typing-extensions==4.8.0
  Downloading typing_extensions-4.8.0-py3-none-any.whl (31 kB)
Collecting typing-inspect==0.9.0
  Downloading typing_inspect-0.9.0-py3-none-any.whl (8.8 kB)
Collecting tzdata==2024.1
  Downloading tzdata-2024.1-py2.py3-none-any.whl (345 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 345.4/345.4 kB 16.1 MB/s eta 0:00:00
Collecting urllib3==2.0.7
  Downloading urllib3-2.0.7-py3-none-any.whl (124 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 124.2/124.2 kB 30.9 MB/s eta 0:00:00
Collecting watchdog==3.0.0
  Downloading watchdog-3.0.0-py3-none-manylinux2014_x86_64.whl (82 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 82.1/82.1 kB 19.0 MB/s eta 0:00:00
Collecting werkzeug==3.0.1
  Downloading werkzeug-3.0.1-py3-none-any.whl (226 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 226.7/226.7 kB 22.5 MB/s eta 0:00:00
WARNING: The candidate selected for download or install is a yanked version: 'requests' candidate (version 2.32.0 at https://files.pythonhosted.org/packages/24/e8/09e8d662a9675a4e4f5dd7a8e6127b463a091d2703ed931a64aa66d00065/requests-2.32.0-py3-none-any.whl (from https://pypi.org/simple/requests/) (requires-python:>=3.8))
Reason for being yanked: Yanked due to conflicts with CVE-2024-35195 mitigation
Building wheels for collected packages: paginate
  Building wheel for paginate (setup.py) ... done
  Created wheel for paginate: filename=paginate-0.5.6-py3-none-any.whl size=12667 sha256=8e8bbe6adfc0cfaaac196c1182ca512e7c02c6f85b822c064c567c96f7c2ab38
  Stored in directory: /home/mesop-dev/.cache/pip/wheels/47/d3/18/0b5bebc873f29bea61fedece1e92cbcbef416839dfe5bd0eef
Successfully built paginate
Installing collected packages: pytz, paginate, watchdog, urllib3, tzdata, typing-extensions, types-protobuf, tomli, six, regex, pyyaml, pyparsing, pygments, protobuf, pluggy, platformdirs, pillow, pathspec, packaging, ordered-set, numpy, mypy-extensions, mkdocs-material-extensions, mergedeep, markupsafe, markdown, kiwisolver, itsdangerous, iniconfig, idna, fonttools, exceptiongroup, cycler, colorama, click, charset-normalizer, certifi, blinker, babel, absl-py, werkzeug, typing-inspect, requests, pyyaml-env-tag, python-dateutil, pytest, pymdown-extensions, pydantic, mypy-protobuf, jinja2, griffe, deepdiff, contourpy, pandas, matplotlib, libcst, ghp-import, flask, mkdocs, mkdocs-material, mkdocs-autorefs, mkdocstrings, mkdocstrings-python
  WARNING: The script watchmedo is installed in '/home/mesop-dev/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script pygmentize is installed in '/home/mesop-dev/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script f2py is installed in '/home/mesop-dev/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script markdown_py is installed in '/home/mesop-dev/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The scripts fonttools, pyftmerge, pyftsubset and ttx are installed in '/home/mesop-dev/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script normalizer is installed in '/home/mesop-dev/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script pybabel is installed in '/home/mesop-dev/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The scripts py.test and pytest are installed in '/home/mesop-dev/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  DEPRECATION: pydantic is being installed using the legacy 'setup.py install' method, because the '--no-binary' option was enabled for it and this currently disables local wheel building for projects that don't have a 'pyproject.toml' file. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/11451
  Running setup.py install for pydantic ... done
  WARNING: The scripts protoc-gen-mypy and protoc-gen-mypy_grpc are installed in '/home/mesop-dev/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script griffe is installed in '/home/mesop-dev/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script deep is installed in '/home/mesop-dev/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script ghp-import is installed in '/home/mesop-dev/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script flask is installed in '/home/mesop-dev/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script mkdocs is installed in '/home/mesop-dev/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed absl-py-2.0.0 babel-2.13.1 blinker-1.7.0 certifi-2023.7.22 charset-normalizer-3.3.2 click-8.1.7 colorama-0.4.6 contourpy-1.2.0 cycler-0.12.1 deepdiff-6.7.1 exceptiongroup-1.1.3 flask-3.0.0 fonttools-4.47.2 ghp-import-2.1.0 griffe-0.36.9 idna-3.7 iniconfig-2.0.0 itsdangerous-2.1.2 jinja2-3.1.4 kiwisolver-1.4.5 libcst-1.1.0 markdown-3.5.1 markupsafe-2.1.3 matplotlib-3.8.2 mergedeep-1.3.4 mkdocs-1.5.3 mkdocs-autorefs-0.5.0 mkdocs-material-9.4.8 mkdocs-material-extensions-1.3 mkdocstrings-0.23.0 mkdocstrings-python-1.7.3 mypy-extensions-1.0.0 mypy-protobuf-3.5.0 numpy-1.26.3 ordered-set-4.1.0 packaging-23.2 paginate-0.5.6 pandas-2.2.1 pathspec-0.11.2 pillow-10.3.0 platformdirs-4.0.0 pluggy-1.3.0 protobuf-4.25.0 pydantic-1.10.13 pygments-2.16.1 pymdown-extensions-10.4 pyparsing-3.1.1 pytest-7.4.3 python-dateutil-2.8.2 pytz-2024.1 pyyaml-6.0.1 pyyaml-env-tag-0.1 regex-2023.10.3 requests-2.32.0 six-1.16.0 tomli-2.0.1 types-protobuf-4.24.0.4 typing-extensions-4.8.0 typing-inspect-0.9.0 tzdata-2024.1 urllib3-2.0.7 watchdog-3.0.0 werkzeug-3.0.1

[notice] A new release of pip is available: 23.0.1 -> 24.0
[notice] To update, run: pip install --upgrade pip
yarn install v1.22.17
[1/5] Validating package.json...
[2/5] Resolving packages...
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@7.0.4"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@7.0.4"
warning Resolution field "typescript@5.4.2" is incompatible with requested version "typescript@5.4.5"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@7.0.4"
warning Resolution field "browser-sync-client@2.26.13" is incompatible with requested version "browser-sync-client@^3.0.2"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^2.2.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^2.2.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.1"
warning Resolution field "typescript@5.4.2" is incompatible with requested version "typescript@~4.9.0"
warning Resolution field "typescript@5.4.2" is incompatible with requested version "typescript@~4.5.4"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.3"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.2"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^2.2.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^4.0.0"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^4.0.0"
[3/5] Fetching packages...
[4/5] Linking dependencies...
warning " > rxjs-tslint-rules@4.34.8" has incorrect peer dependency "typescript@^2.3.0 || ^3.0.0 || ^4.0.0".
warning "rxjs-tslint-rules > @phenomnomnominal/tsquery@4.2.0" has incorrect peer dependency "typescript@^3 || ^4".
warning "rxjs-tslint-rules > tsutils-etc@1.4.1" has incorrect peer dependency "typescript@^4.0.0".
warning " > @angular/bazel@16.0.0-next.6" has incorrect peer dependency "@angular/compiler-cli@16.0.0-next.6+sha-3b863dd".
warning " > @angular/bazel@16.0.0-next.6" has incorrect peer dependency "@rollup/plugin-commonjs@^24.0.0".
warning " > @angular/bazel@16.0.0-next.6" has incorrect peer dependency "typescript@>=4.9.3 <5.1".
warning "@angular/bazel > tsickle@0.46.3" has incorrect peer dependency "typescript@~4.7.2".
warning " > @bazel/concatjs@5.8.1" has unmet peer dependency "karma-junit-reporter@>=2.0.0".
warning " > @bazel/terser@5.8.1" has incorrect peer dependency "terser@>=4.0.0 <5.9.0".
warning "@angular/build-tooling > @angular/benchpress > @angular/core@14.3.0" has incorrect peer dependency "zone.js@~0.11.4 || ~0.12.0".
warning " > tsickle@0.39.1" has incorrect peer dependency "typescript@~3.9.5".
error Could not write file "/workspaces/mesop/yarn-error.log": "EACCES: permission denied, open '/workspaces/mesop/yarn-error.log'"
error An unexpected error occurred: "EACCES: permission denied, mkdir '/workspaces/mesop/node_modules'".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
INFO: Repository npm instantiated at:
  /workspaces/mesop/WORKSPACE:209:13: in <toplevel>
  /home/mesop-dev/.cache/bazel/_bazel_mesop-dev/6511b964879fd41b17eb92351f2b069c/external/build_bazel_rules_nodejs/index.bzl:83:18: in yarn_install
Repository rule yarn_install defined at:
  /home/mesop-dev/.cache/bazel/_bazel_mesop-dev/6511b964879fd41b17eb92351f2b069c/external/build_bazel_rules_nodejs/internal/npm_install/npm_install.bzl:1002:31: in <toplevel>
ERROR: An error occurred during the fetch of repository 'npm':
   Traceback (most recent call last):
        File "/home/mesop-dev/.cache/bazel/_bazel_mesop-dev/6511b964879fd41b17eb92351f2b069c/external/build_bazel_rules_nodejs/internal/npm_install/npm_install.bzl", line 993, column 13, in _yarn_install_impl
                fail("yarn_install failed: %s (%s)" % (result.stdout, result.stderr))
Error in fail: yarn_install failed: yarn install v1.22.17
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
[4/5] Linking dependencies...
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
 (warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@7.0.4"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@7.0.4"
warning Resolution field "typescript@5.4.2" is incompatible with requested version "typescript@5.4.5"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@7.0.4"
warning Resolution field "browser-sync-client@2.26.13" is incompatible with requested version "browser-sync-client@^3.0.2"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^2.2.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^2.2.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.1"
warning Resolution field "typescript@5.4.2" is incompatible with requested version "typescript@~4.9.0"
warning Resolution field "typescript@5.4.2" is incompatible with requested version "typescript@~4.5.4"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.3"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.2"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^2.2.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^4.0.0"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^4.0.0"
warning " > rxjs-tslint-rules@4.34.8" has incorrect peer dependency "typescript@^2.3.0 || ^3.0.0 || ^4.0.0".
warning "rxjs-tslint-rules > @phenomnomnominal/tsquery@4.2.0" has incorrect peer dependency "typescript@^3 || ^4".
warning "rxjs-tslint-rules > tsutils-etc@1.4.1" has incorrect peer dependency "typescript@^4.0.0".
warning " > @angular/bazel@16.0.0-next.6" has incorrect peer dependency "@angular/compiler-cli@16.0.0-next.6+sha-3b863dd".
warning " > @angular/bazel@16.0.0-next.6" has incorrect peer dependency "@rollup/plugin-commonjs@^24.0.0".
warning " > @angular/bazel@16.0.0-next.6" has incorrect peer dependency "typescript@>=4.9.3 <5.1".
warning "@angular/bazel > tsickle@0.46.3" has incorrect peer dependency "typescript@~4.7.2".
warning " > @bazel/concatjs@5.8.1" has unmet peer dependency "karma-junit-reporter@>=2.0.0".
warning " > @bazel/terser@5.8.1" has incorrect peer dependency "terser@>=4.0.0 <5.9.0".
warning "@angular/build-tooling > @angular/benchpress > @angular/core@14.3.0" has incorrect peer dependency "zone.js@~0.11.4 || ~0.12.0".
warning " > tsickle@0.39.1" has incorrect peer dependency "typescript@~3.9.5".
error Could not write file "/workspaces/mesop/yarn-error.log": "EACCES: permission denied, open '/workspaces/mesop/yarn-error.log'"
error An unexpected error occurred: "EACCES: permission denied, mkdir '/workspaces/mesop/node_modules'".
)
ERROR: /workspaces/mesop/WORKSPACE:209:13: fetching yarn_install rule //external:npm: Traceback (most recent call last):
        File "/home/mesop-dev/.cache/bazel/_bazel_mesop-dev/6511b964879fd41b17eb92351f2b069c/external/build_bazel_rules_nodejs/internal/npm_install/npm_install.bzl", line 993, column 13, in _yarn_install_impl
                fail("yarn_install failed: %s (%s)" % (result.stdout, result.stderr))
Error in fail: yarn_install failed: yarn install v1.22.17
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
[4/5] Linking dependencies...
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
 (warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@7.0.4"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@7.0.4"
warning Resolution field "typescript@5.4.2" is incompatible with requested version "typescript@5.4.5"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@7.0.4"
warning Resolution field "browser-sync-client@2.26.13" is incompatible with requested version "browser-sync-client@^3.0.2"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^2.2.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^2.2.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.1"
warning Resolution field "typescript@5.4.2" is incompatible with requested version "typescript@~4.9.0"
warning Resolution field "typescript@5.4.2" is incompatible with requested version "typescript@~4.5.4"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.3"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.2"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^2.2.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^4.0.0"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^4.0.0"
warning " > rxjs-tslint-rules@4.34.8" has incorrect peer dependency "typescript@^2.3.0 || ^3.0.0 || ^4.0.0".
warning "rxjs-tslint-rules > @phenomnomnominal/tsquery@4.2.0" has incorrect peer dependency "typescript@^3 || ^4".
warning "rxjs-tslint-rules > tsutils-etc@1.4.1" has incorrect peer dependency "typescript@^4.0.0".
warning " > @angular/bazel@16.0.0-next.6" has incorrect peer dependency "@angular/compiler-cli@16.0.0-next.6+sha-3b863dd".
warning " > @angular/bazel@16.0.0-next.6" has incorrect peer dependency "@rollup/plugin-commonjs@^24.0.0".
warning " > @angular/bazel@16.0.0-next.6" has incorrect peer dependency "typescript@>=4.9.3 <5.1".
warning "@angular/bazel > tsickle@0.46.3" has incorrect peer dependency "typescript@~4.7.2".
warning " > @bazel/concatjs@5.8.1" has unmet peer dependency "karma-junit-reporter@>=2.0.0".
warning " > @bazel/terser@5.8.1" has incorrect peer dependency "terser@>=4.0.0 <5.9.0".
warning "@angular/build-tooling > @angular/benchpress > @angular/core@14.3.0" has incorrect peer dependency "zone.js@~0.11.4 || ~0.12.0".
warning " > tsickle@0.39.1" has incorrect peer dependency "typescript@~3.9.5".
error Could not write file "/workspaces/mesop/yarn-error.log": "EACCES: permission denied, open '/workspaces/mesop/yarn-error.log'"
error An unexpected error occurred: "EACCES: permission denied, mkdir '/workspaces/mesop/node_modules'".
)
ERROR: no such package '@npm//@bazel/protractor': yarn_install failed: yarn install v1.22.17
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
[4/5] Linking dependencies...
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
 (warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@7.0.4"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@7.0.4"
warning Resolution field "typescript@5.4.2" is incompatible with requested version "typescript@5.4.5"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@7.0.4"
warning Resolution field "browser-sync-client@2.26.13" is incompatible with requested version "browser-sync-client@^3.0.2"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^2.2.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^2.2.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.1"
warning Resolution field "typescript@5.4.2" is incompatible with requested version "typescript@~4.9.0"
warning Resolution field "typescript@5.4.2" is incompatible with requested version "typescript@~4.5.4"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.3"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.2"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^2.2.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^4.0.0"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^4.0.0"
warning " > rxjs-tslint-rules@4.34.8" has incorrect peer dependency "typescript@^2.3.0 || ^3.0.0 || ^4.0.0".
warning "rxjs-tslint-rules > @phenomnomnominal/tsquery@4.2.0" has incorrect peer dependency "typescript@^3 || ^4".
warning "rxjs-tslint-rules > tsutils-etc@1.4.1" has incorrect peer dependency "typescript@^4.0.0".
warning " > @angular/bazel@16.0.0-next.6" has incorrect peer dependency "@angular/compiler-cli@16.0.0-next.6+sha-3b863dd".
warning " > @angular/bazel@16.0.0-next.6" has incorrect peer dependency "@rollup/plugin-commonjs@^24.0.0".
warning " > @angular/bazel@16.0.0-next.6" has incorrect peer dependency "typescript@>=4.9.3 <5.1".
warning "@angular/bazel > tsickle@0.46.3" has incorrect peer dependency "typescript@~4.7.2".
warning " > @bazel/concatjs@5.8.1" has unmet peer dependency "karma-junit-reporter@>=2.0.0".
warning " > @bazel/terser@5.8.1" has incorrect peer dependency "terser@>=4.0.0 <5.9.0".
warning "@angular/build-tooling > @angular/benchpress > @angular/core@14.3.0" has incorrect peer dependency "zone.js@~0.11.4 || ~0.12.0".
warning " > tsickle@0.39.1" has incorrect peer dependency "typescript@~3.9.5".
error Could not write file "/workspaces/mesop/yarn-error.log": "EACCES: permission denied, open '/workspaces/mesop/yarn-error.log'"
error An unexpected error occurred: "EACCES: permission denied, mkdir '/workspaces/mesop/node_modules'".
)
touch: cannot touch '/mesop/__init__.py': No such file or directory
Defaulting to user installation because normal site-packages is not writeable
Collecting pre-commit==3.7.1
  Downloading pre_commit-3.7.1-py2.py3-none-any.whl (204 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 204.3/204.3 kB 6.0 MB/s eta 0:00:00
Collecting nodeenv>=0.11.1
  Downloading nodeenv-1.9.1-py2.py3-none-any.whl (22 kB)
Collecting cfgv>=2.0.0
  Downloading cfgv-3.4.0-py2.py3-none-any.whl (7.2 kB)
Collecting virtualenv>=20.10.0
  Downloading virtualenv-20.26.2-py3-none-any.whl (3.9 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.9/3.9 MB 12.8 MB/s eta 0:00:00
Collecting identify>=1.0.0
  Downloading identify-2.5.36-py2.py3-none-any.whl (98 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 99.0/99.0 kB 10.1 MB/s eta 0:00:00
Requirement already satisfied: pyyaml>=5.1 in /home/mesop-dev/.local/lib/python3.10/site-packages (from pre-commit==3.7.1) (6.0.1)
Collecting filelock<4,>=3.12.2
  Downloading filelock-3.15.1-py3-none-any.whl (15 kB)
Requirement already satisfied: platformdirs<5,>=3.9.1 in /home/mesop-dev/.local/lib/python3.10/site-packages (from virtualenv>=20.10.0->pre-commit==3.7.1) (4.0.0)
Collecting distlib<1,>=0.3.7
  Downloading distlib-0.3.8-py2.py3-none-any.whl (468 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 468.9/468.9 kB 17.7 MB/s eta 0:00:00
Installing collected packages: distlib, nodeenv, identify, filelock, cfgv, virtualenv, pre-commit
  WARNING: The script nodeenv is installed in '/home/mesop-dev/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script identify-cli is installed in '/home/mesop-dev/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script virtualenv is installed in '/home/mesop-dev/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The script pre-commit is installed in '/home/mesop-dev/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed cfgv-3.4.0 distlib-0.3.8 filelock-3.15.1 identify-2.5.36 nodeenv-1.9.1 pre-commit-3.7.1 virtualenv-20.26.2

[notice] A new release of pip is available: 23.0.1 -> 24.0
[notice] To update, run: pip install --upgrade pip
scripts/devcontainer_setup.sh: line 25: pre-commit: command not found
yarn run v1.22.17
error Command "playwright" not found.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

What's next:
    Try Docker Debug for seamless, persistent debugging tools in any container or image → docker debug 0248c3f79adf9e6ec06d3c7fe5143f11ea1dca9b02b1670e4ce8f22e3d2cae50
    Learn more at https://docs.docker.com/go/debug-cli/
[160958 ms] postCreateCommand failed with exit code 1. Skipping any further user-provided commands.
Done. Press any key to close the terminal.
richard-to commented 4 months ago

Ah yes thanks for the additional debug info:

error Could not write file "/workspaces/mesop/yarn-error.log": "EACCES: permission denied, open '/workspaces/mesop/yarn-error.log'"
error An unexpected error occurred: "EACCES: permission denied, mkdir '/workspaces/mesop/node_modules'".
)

This definitely would be a big blocker. I think I have an idea of what the issue is.

I think sudo is not working. So this command would fail: sudo chown mesop-dev:mesop-dev node_modules. The reason we need to change ownership is because we're using a docker volume here, but when it gets created, it will be owned by root. We do this for better performance but also to not conflict with node_modules if the user is developing on their host machine. I think the simplest option is probably to enable sudo in the Docker image.

For a temporary fix, I think maybe you can get around this by creating an empty node_modules folder on your host machine. Then I think maybe the permissions will be map correctly when the Docker volume is mounted. Not 100% sure on that.

So I think the fix is to update the Dockerfile to enable sudo.

Originally, I thought the postCreateCommand would explicitly run as root in the container. But I think I was wrong.

marklysze commented 4 months ago

Okay, understand regarding sudo. I did try to create an empty node_modules folder before creating the Dev Container but it still failed, same issue.

richard-to commented 4 months ago

Ok, good to know. Thanks for giving it a try. I'll go ahead and set up sudo on the docker image.

I wish devcontainer.js had an option to run postCreateCommand as root. That would be nicer. But I don't see an option.

richard-to commented 4 months ago

I submitted a pull request for it. The sudo seems to work in the container image. But have not had a chance to try out it against the postCreateCommand in VS Code remote container yet.

I've run it in Codespaces, but I do notice that the node_modules volume did not exist at the time the script was run. For Codespaces it does not matter but it is odd behavior.

marklysze commented 4 months ago

Without adding a node_modules folder, so as is with the updated Dockerfile - permission errors persisted:

Running the postCreateCommand from devcontainer.json...

[7186 ms] Start: Run in container: /bin/sh -c bash scripts/devcontainer_setup.sh
chown: cannot access 'node_modules': No such file or directory
2024/06/18 00:30:46 Downloading https://releases.bazel.build/6.4.0/release/bazel-6.4.0-linux-x86_64...
Downloading: 52 MB out of 52 MB (100%) 
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
yarn install v1.22.17
[1/5] Validating package.json...
[2/5] Resolving packages...
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@7.0.4"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@7.0.4"
warning Resolution field "typescript@5.4.2" is incompatible with requested version "typescript@5.4.5"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@7.0.4"
warning Resolution field "browser-sync-client@2.26.13" is incompatible with requested version "browser-sync-client@^3.0.2"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^2.2.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^2.2.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.1"
warning Resolution field "typescript@5.4.2" is incompatible with requested version "typescript@~4.9.0"
warning Resolution field "typescript@5.4.2" is incompatible with requested version "typescript@~4.5.4"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.3"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^7.0.2"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^2.2.1"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^4.0.0"
warning Resolution field "https-proxy-agent@5.0.0" is incompatible with requested version "https-proxy-agent@^4.0.0"
[3/5] Fetching packages...
[4/5] Linking dependencies...
warning " > @angular/elements@18.0.3" has incorrect peer dependency "@angular/core@18.0.3".
warning " > rxjs-tslint-rules@4.34.8" has incorrect peer dependency "typescript@^2.3.0 || ^3.0.0 || ^4.0.0".
warning "rxjs-tslint-rules > @phenomnomnominal/tsquery@4.2.0" has incorrect peer dependency "typescript@^3 || ^4".
warning "rxjs-tslint-rules > tsutils-etc@1.4.1" has incorrect peer dependency "typescript@^4.0.0".
warning " > @angular/bazel@16.0.0-next.6" has incorrect peer dependency "@angular/compiler-cli@16.0.0-next.6+sha-3b863dd".
warning " > @angular/bazel@16.0.0-next.6" has incorrect peer dependency "@rollup/plugin-commonjs@^24.0.0".
warning " > @angular/bazel@16.0.0-next.6" has incorrect peer dependency "typescript@>=4.9.3 <5.1".
warning "@angular/bazel > tsickle@0.46.3" has incorrect peer dependency "typescript@~4.7.2".
warning " > @bazel/concatjs@5.8.1" has unmet peer dependency "karma-junit-reporter@>=2.0.0".
warning " > @bazel/terser@5.8.1" has incorrect peer dependency "terser@>=4.0.0 <5.9.0".
warning "@angular/build-tooling > @angular/benchpress > @angular/core@14.3.0" has incorrect peer dependency "zone.js@~0.11.4 || ~0.12.0".
warning " > tsickle@0.39.1" has incorrect peer dependency "typescript@~3.9.5".
error Could not write file "/workspaces/mesop/yarn-error.log": "EACCES: permission denied, open '/workspaces/mesop/yarn-error.log'"
error An unexpected error occurred: "EACCES: permission denied, mkdir '/workspaces/mesop/node_modules'".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
INFO: Repository npm instantiated at:
  /workspaces/mesop/WORKSPACE:209:13: in <toplevel>
  /home/mesop-dev/.cache/bazel/_bazel_mesop-dev/6511b964879fd41b17eb92351f2b069c/external/build_bazel_rules_nodejs/index.bzl:83:18: in yarn_install
Repository rule yarn_install defined at:
  /home/mesop-dev/.cache/bazel/_bazel_mesop-dev/6511b964879fd41b17eb92351f2b069c/external/build_bazel_rules_nodejs/internal/npm_install/npm_install.bzl:1002:31: in <toplevel>
ERROR: An error occurred during the fetch of repository 'npm':
   Traceback (most recent call last):
        File "/home/mesop-dev/.cache/bazel/_bazel_mesop-dev/6511b964879fd41b17eb92351f2b069c/external/build_bazel_rules_nodejs/internal/npm_install/npm_install.bzl", line 993, column 13, in _yarn_install_impl
                fail("yarn_install failed: %s (%s)" % (result.stdout, result.stderr))
Error in fail: yarn_install failed: yarn install v1.22.17
[1/5] Validating package.json...
[2/5] Resolving packages...
...

Adding a node_modules folder before creating the Dev Container with the updatedDockerfile - seemed to complete successfully :)... Thanks I'll give it a play now!

richard-to commented 4 months ago

Thanks for that additional info. I'm kind of surprised the node_modules folder does not exist at that point. I'll keep digging into that part.

Awesome. Have fun!

richard-to commented 3 months ago

Looks like the issue was that I had a typo on the path in the docker compose file, so the node_modules volume was being created in the wrong directory. I've fixed that now. So I think that resolves things.

Though I think there are certain scenarios where the dev container set up may still fail, such as the case where a user has run Mesop locally and then also tried to run in a dev container. But when I write up the docs, I'll make a note of it. But closing this for now.

marklysze commented 3 months ago

Ah, nice pickup, thanks @richard-to!

I've just tried again and went through smoothly :).