You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are various issues when running the example repo on Windows. It would be nice to fix these and give a better starting experience.
Various linters/formatters don't work:
clang-tidy/clang-format don't have windows target preconfigured
buf fails
etc
Issues due to lack of windows support in other bazel modules
bash lint.sh --fix //src:hello_cc fails on windows due to missing node.bat:
FATAL: aspect_rules_js[js_binary]: node wrapper '/d/udu/b/l2x2bhay/execroot/_main/./external/aspect_rules_lint~/lint/private/patcher_node_bin/node.bat' not found
bazel run //docs:update_10 fails:
Target //docs:update_10 failed to build
Use --verbose_failures to see the command lines of failed build steps.
ERROR: Analysis of target '//docs:update_10' failed; build aborted: Target //docs:update_10 is incompatible and cannot be built, but was explicitly requested.
Dependency chain:
//docs:update_10 (2bc110)
//docs:clang-tidy-docgen.md (2bc110)
//docs:clang-tidy (2bc110) <-- target platform (@@local_config_platform//:host) didn't satisfy constraint @@platforms//:incompatible
Issues local to examples repo
example/.bazeliskrc causes builds to fail as aspect-cli doesn't support windows. A workaround is to delete this file.
example/.bazelversion causes builds to fail as bazelisk doesn't support ../ notation. A workaround is to copy the parent .bazelversion into examples.
What happened?
There are various issues when running the example repo on Windows. It would be nice to fix these and give a better starting experience.
Various linters/formatters don't work:
Issues due to lack of windows support in other bazel modules
Issues local to examples repo
curl -L -o jq.exe https://github.com/stedolan/jq/releases/latest/download/jq-win64.exe
Version
Development (host) and target OS/architectures:
Output of
bazel --version
:7.1.1
Version of the Aspect rules, or other relevant rules from your
WORKSPACE
orMODULE.bazel
file:rules_lint latest
Language(s) and/or frameworks involved:
all
How to reproduce
Any other information?
No response
The text was updated successfully, but these errors were encountered: