Open fendypurnomo opened 4 weeks ago
Hi ! In which kind of command line are you running the script ?
You need to run this script in a bash compatible command line.
WSL will work for sure.
Following up from what you mentioned in #55877, could you try to run that command with bash
or zsh
shell instead of just sh
?
I use zsh
on ubuntu to build this docs, but i got error like this:
ERROR: /root/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
/root/.cache/bazel/_bazel_root/761bcdfcae98f7636f5b5cec8ab693a6/sandbox/processwrapper-sandbox/428/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
Describe the problem that you experienced
Describe what you were looking for in the documentation
I'm cloning angular repo and i want to serve locally, but when i run command "yarn docs", i got an error