-
Notifications
You must be signed in to change notification settings - Fork 522
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
error node_toolchain on apple silicon #2779
Comments
yarn_install will call _node_repositories(), this will make nodejs_darwin_arm64_config/BUILD.bzl wrong toolchain config on M1 mac. it is caused by commit 2ad950f. |
I got an M1 mac now, so I can reproduce and fix :) |
… supported by the node version Fixes bazel-contrib#2779
… supported by the node version Fixes bazel-contrib#2779
@janboeye this error is actually caused by having a node version before 16. The error handling is bad, which I just put up a PR for it. But something is running |
… supported by the node version Fixes bazel-contrib#2779
@alexeagle Thanks for the patch and suggestion, this patch is great. |
… supported by the node version Fixes bazel-contrib#2779
… supported by the node version Fixes bazel-contrib#2779
… supported by the node version Fixes #2779
… supported by the node version Fixes #2779
… supported by the node version Fixes bazel-contrib#2779
Did we ever file an issue against bazelbuild/bazel regarding the crash of Bazel itself? |
🐞 bug report
Affected Rule
node_repositories()
Is this a regression?
This works on a x86_64 mac, but not on an M1 mac.
Description
generating BUILD in nodejs_darwin_arm64_config is not correct, and it crash bazel
🔬 Minimal Reproduction
🔥 Exception or Error
🌍 Your Environment
Operating System:
Output of
bazel version
:Rules_nodejs version:
(Please check that you have matching versions between WORKSPACE file and
@bazel/*
npm packages.)It is strange why toolchain is set to external:node.
The text was updated successfully, but these errors were encountered: