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

[Bug]: Can't be used with bazel-lib 2.0 #225

Closed
alexeagle opened this issue Jan 31, 2024 · 1 comment
Closed

[Bug]: Can't be used with bazel-lib 2.0 #225

alexeagle opened this issue Jan 31, 2024 · 1 comment
Labels
bug Something isn't working untriaged Requires traige

Comments

@alexeagle
Copy link
Member

What happened?

ERROR: /platformweb/ui/dashboard/src/components/TitleBar/BUILD.bazel:3:15: in swc_transpiler rule //platformweb/ui/dashboard/src/components/TitleBar:TitleBar_transpile: 
Traceback (most recent call last):
        File "/shared/cache/bazel/user_base/35d3dfb99a7e1d1ac0ae38df0bff0ffd/external/aspect_rules_swc/swc/private/swc.bzl", line 160, column 46, in _impl
                inputs = [copy_file_to_bin_action(ctx, src)] + swcinfo.tool_files
        File "/shared/cache/bazel/user_base/35d3dfb99a7e1d1ac0ae38df0bff0ffd/external/aspect_bazel_lib/lib/private/copy_to_bin.bzl", line 84, column 21, in copy_file_to_bin_action
                copy_file_action(ctx, file, dst)
        File "/shared/cache/bazel/user_base/35d3dfb99a7e1d1ac0ae38df0bff0ffd/external/aspect_bazel_lib/lib/private/copy_file.bzl", line 84, column 31, in copy_file_action
                coreutils = ctx.toolchains[_COREUTILS_TOOLCHAIN].coreutils_info
Error: In swc_transpiler rule //platformweb/ui/dashboard/src/components/TitleBar:TitleBar_transpile, toolchain type @aspect_bazel_lib//lib:coreutils_toolchain_type was requested but only types [@aspect_rules_swc//swc:toolchain_type] are configured

Same idea as aspect-build/rules_webpack#135

Version

HEAD

How to reproduce

No response

Any other information?

No response

@alexeagle alexeagle added the bug Something isn't working label Jan 31, 2024
@github-actions github-actions bot added the untriaged Requires traige label Jan 31, 2024
@github-project-automation github-project-automation bot moved this to ✅ Done in Open Source Jan 31, 2024
@alexeagle alexeagle reopened this Jan 31, 2024
@alexeagle
Copy link
Member Author

Err, my mistake, we don't have any copy actions at HEAD so it's not needed there.

@alexeagle alexeagle closed this as not planned Won't fix, can't repro, duplicate, stale Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working untriaged Requires traige
Projects
Status: Done
Development

No branches or pull requests

1 participant