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

Broken at head #23

Open
stevemer opened this issue Feb 24, 2024 · 3 comments
Open

Broken at head #23

stevemer opened this issue Feb 24, 2024 · 3 comments

Comments

@stevemer
Copy link

stevemer commented Feb 24, 2024

Pulled this down and it doesn't build.

mala@mute grpc-web-bazel-ts-example % bazel run //api:dev

INFO: Invocation ID: c1d5288a-6f58-471a-93b8-cb4ed10dc1bf
ERROR: no such package '@@bazel_tools//platforms': BUILD file not found in directory 'platforms' of external repository @@bazel_tools. Add a BUILD file to a directory to mark it as a package.
ERROR: /private/var/tmp/_bazel_mala/53e84dd0e9183946d574c11fc2b60d9c/external/build_bazel_rules_nodejs/toolchains/node/BUILD.bazel:88:10: no such package '@@bazel_tools//platforms': BUILD file not found in directory 'platforms' of external repository @@bazel_tools. Add a BUILD file to a directory to mark it as a package. and referenced by '@@build_bazel_rules_nodejs//toolchains/node:node_linux_toolchain'
ERROR: /Users/mala/dev/grpc-web-bazel-ts-example/api/BUILD.bazel:41:14: Analysis failed
ERROR: Analysis of target '//api:dev' failed; build aborted
INFO: Elapsed time: 0.562s, Critical Path: 0.01s
INFO: 1 process: 1 internal.
ERROR: Build did NOT complete successfully
ERROR: Build failed. Not running target

I'm on a M1 Mac running Bazel 7.0.2.

@stevemer
Copy link
Author

I'm going to guess this is related to M1 more than anything else.

Based on
grpc/grpc-node#1405

I've bumped grpc-tools to 1.11.3, where they've added M1 support.

@stevemer
Copy link
Author

The deeper I go, the hairier it gets. I don't know if I can patch the dependencies in a reasonable amount of time.

@stevemer
Copy link
Author

I do think the goal of this project is valuable. I've taken some pieces of this repo, I'm integrating them with
https://github.com/benchsci/rules_nodejs_gazelle/tree/main/examples/nextjs,

and I'm hosting the work in progress here:
https://github.com/stevemer/blueprint

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

1 participant