Title: Problems when running bazel commands from this repo · Issue #35891 · angular/angular · GitHub
Open Graph Title: Problems when running bazel commands from this repo · Issue #35891 · angular/angular
X Title: Problems when running bazel commands from this repo · Issue #35891 · angular/angular
Description: I am having issues to run the following command from this repo on windows: yarn test-ivy-aot The command is run in the following folder: C:\projects\Archive\angular bazel then complained about space in my user's folder, so I added the ou...
Open Graph Description: I am having issues to run the following command from this repo on windows: yarn test-ivy-aot The command is run in the following folder: C:\projects\Archive\angular bazel then complained about spac...
X Description: I am having issues to run the following command from this repo on windows: yarn test-ivy-aot The command is run in the following folder: C:\projects\Archive\angular bazel then complained about spac...
Opengraph URL: https://github.com/angular/angular/issues/35891
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Problems when running bazel commands from this repo","articleBody":"I am having issues to run the following command from this repo on windows:\r\n\r\n`yarn test-ivy-aot`\r\n\r\nThe command is run in the following folder:\r\n\r\n`C:\\projects\\Archive\\angular`\r\n\r\n`bazel` then complained about space in my user's folder, so I added the `output_user_root` into the package.json command, resulting in this now:\r\n\r\n`\"test-ivy-aot\": \"bazel --output_user_root=C:\\\\bazel-temp\\\\ test --config=ivy --build_tag_filters=-no-ivy-aot,-fixme-ivy-aot --test_tag_filters=-no-ivy-aot,-fixme-ivy-aot\"`\r\n\r\nThe `bazel-temp` folder was created. It did not exist. \r\n\r\nWhen I now run `yarn test-ivy-aot`, I get the below:\r\n\r\n```\r\nPS C:\\projects\\Archive\\angular> yarn test-ivy-aot\r\nyarn run v1.21.1\r\n$ bazel --output_user_root=C:\\bazel-temp\\ test --config=ivy --build_tag_filters=-no-ivy-aot,-fixme-ivy-aot --test_tag_filters=-no-ivy-aot,-fixme-ivy-aot\r\nExtracting Bazel installation...\r\nStarting local Bazel server and connecting to it...\r\nWARNING: Download from https://mirror.bazel.build/nodejs.org/dist/v12.14.1/node-v12.14.1-win-x64.zip failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found\r\nINFO: Analyzed 0 targets (0 packages loaded, 0 targets configured).\r\nINFO: Found 0 test targets...\r\nWARNING: failed to create one or more convenience symlinks for prefix 'dist/':\r\n cannot create symbolic link dist/bin -> C:/bazel-temp/7lxopdvs/execroot/angular/bazel-out/x64_windows-fastbuild/bin: Cannot create junction (name=C:\\projects\\archive\\angular\\dist\\bin, target=C:\\bazel-temp\\7lxopdvs\\execroot\\angular\\bazel-out\\x64_windows-fastbuild\\bin): a file or directory already exists at the junction's path\r\n cannot create symbolic link dist/testlogs -> C:/bazel-temp/7lxopdvs/execroot/angular/bazel-out/x64_windows-fastbuild/testlogs: Cannot create junction (name=C:\\projects\\archive\\angular\\dist\\testlogs, target=C:\\bazel-temp\\7lxopdvs\\execroot\\angular\\bazel-out\\x64_windows-fastbuild\\testlogs): a file or directory already exists at the junction's path\r\n cannot create symbolic link bazel-out -> C:/bazel-temp/7lxopdvs/execroot/angular/bazel-out: Cannot create junction (name=C:\\projects\\archive\\angular\\bazel-out, target=C:\\bazel-temp\\7lxopdvs\\execroot\\angular\\bazel-out): a file or directory already exists at the junction's path\r\n cannot create symbolic link dist/out -> C:/bazel-temp/7lxopdvs/execroot/angular/bazel-out: Cannot create junction (name=C:\\projects\\archive\\angular\\dist\\out, target=C:\\bazel-temp\\7lxopdvs\\execroot\\angular\\bazel-out): a file or directory already exists at the junction's path\r\n cannot create symbolic link dist/angular -> C:/bazel-temp/7lxopdvs/execroot/angular: Cannot create junction (name=C:\\projects\\archive\\angular\\dist\\angular, target=C:\\bazel-temp\\7lxopdvs\\execroot\\angular): a file or directory already exists at the junction's path\r\nINFO: Elapsed time: 110.839s, Critical Path: 0.05s\r\nINFO: 0 processes.\r\nINFO: Build completed successfully, 1 total action\r\nINFO: Build completed successfully, 1 total action\r\nerror Command failed with exit code 4.\r\ninfo Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.\r\n```\r\n\r\nI used Windows PowerShell with Administrative privileges to run the commands. ","author":{"url":"https://github.com/sonukapoor","@type":"Person","name":"sonukapoor"},"datePublished":"2020-03-06T02:57:07Z","url":"https://github.com/angular/angular/issues/35891"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:3d5c9440-33e8-89ca-a02f-74a138966865 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C69E:10531B:1E93CC:271379:6B00FD99 |
| html-safe-nonce | cd798b8172ac47f8a8215b2f6e369c33cc7226a7bda8451c377bc187844973d1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjlFOjEwNTMxQjoxRTkzQ0M6MjcxMzc5OjZCMDBGRDk5IiwidmlzaXRvcl9pZCI6IjIwOTc1NTM5MTE5NDk4ODQ4MjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9eef57e99f9ae79d08a760cbf178326eaca82abee32ff92159406f8f3c9941c8 |
| hovercard-subject-tag | issue:576663370 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/35891/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1e20798a36ecc426d9b2f7142e814a91f22bc4f5f9eb1b3d5e31946eaa21fdfd/angular/angular/issues/35891 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1e20798a36ecc426d9b2f7142e814a91f22bc4f5f9eb1b3d5e31946eaa21fdfd/angular/angular/issues/35891 |
| og:image:alt | I am having issues to run the following command from this repo on windows: yarn test-ivy-aot The command is run in the following folder: C:\projects\Archive\angular bazel then complained about spac... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sonukapoor |
| hostname | github.com |
| expected-hostname | github.com |
| None | e208d86428ec00a57ade75058166297440e8128a01e5287c31a53dc042bbf187 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7dafd017fb7809a839c443dba08622af38e63c09 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width