Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: failed: error executing command #55877

Closed
fendypurnomo opened this issue May 19, 2024 · 1 comment
Closed

docs: failed: error executing command #55877

fendypurnomo opened this issue May 19, 2024 · 1 comment

Comments

@fendypurnomo
Copy link

fendypurnomo commented May 19, 2024

Describe the problem that you experienced

i am cloning angular repo and i build and running on Windows 10 - WSL Ubuntu, but got an error in below:

ubuntu@DESKTOP-762MEHV:~/angular$ yarn docs
yarn run v1.22.19
$ [[ -n $CI ]] && echo 'Cannot run this yarn script on CI' && exit 1 || yarn bazel run //adev:serve --fast_adev
/bin/sh: 1: [[: not found
$ /home/ubuntu/angular/node_modules/.bin/bazel run //adev:serve --fast_adev
INFO: Analyzed target //adev:serve (1 packages loaded, 2632 targets configured).
INFO: Found 1 target...
ERROR: /home/ubuntu/angular/adev/src/content/guide/components/BUILD.bazel:3:16: Action adev/src/content/guide/components/advanced-configuration.md.html failed: (Exit 1): markdown.sh failed: error executing command bazel-out/k8-opt-exec-2B5CBBC6/bin/external/npm/@angular/docs/pipeline/markdown.sh bazel-out/k8-fastbuild/bin/adev/src/content/guide/components/advanced-configuration.md.html-0.params ... (remaining 1 argument skipped)

Use --sandbox_debug to see verbose messages from the sandbox

/home/ubuntu/.cache/bazel/_bazel_ubuntu/d3c6983be73d8c916ce88d5800bb1c6f/sandbox/processwrapper-sandbox/426/execroot/angular/external/npm/@angular/docs/pipeline/guides.mjs:48704
  const browser = await chromium.launch({
                                 ^
browserType.launch: Target page, context or browser has been closed
  - <launched> pid=11102
  - [pid=11102][err] /home/ubuntu/.cache/bazel/_bazel_ubuntu/d3c6983be73d8c916ce88d5800bb1c6f/sandbox/processwrapper-sandbox/426/execroot/angular/bazel-out/k8-opt-exec-2B5CBBC6/bin/external/npm/@angular/docs/pipeline/markdown.sh.runfiles/org_chromium_chromium_linux_x64/chrome-linux/chrome: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory

    at Object.processMermaidCodeBlock (/home/ubuntu/.cache/bazel/_bazel_ubuntu/d3c6983be73d8c916ce88d5800bb1c6f/sandbox/processwrapper-sandbox/426/execroot/angular/external/npm/@angular/docs/pipeline/guides.mjs:48704:34)
    at Marked.walkTokens2 (/home/ubuntu/.cache/bazel/_bazel_ubuntu/d3c6983be73d8c916ce88d5800bb1c6f/sandbox/processwrapper-sandbox/426/execroot/angular/external/npm/@angular/docs/pipeline/guides.mjs:52199:84)
    at main (/home/ubuntu/.cache/bazel/_bazel_ubuntu/d3c6983be73d8c916ce88d5800bb1c6f/sandbox/processwrapper-sandbox/426/execroot/angular/external/npm/@angular/docs/pipeline/guides.mjs:52240:31)
@JeanMeche
Copy link
Member

JeanMeche commented May 19, 2024

Duplicate of #55856

Please do not create duplcate issues if you already opened one, thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants