Hi,
I am trying to build Gerrit on a M1 MacBook (for the first time), and I am getting this error message for `bazelisk build gerrit`:
ERROR: /Users/brohlfs/gerrit/tools/node_tools/BUILD:9:14: While resolving toolchains for target //tools/node_tools:rollup-bin: no matching toolchains found for types @build_bazel_rules_nodejs//toolchains/node:toolchain_type
Any ideas? Is that a M1 problem or something unrelated?
-Ben
brohlfs$ java --version
openjdk 11.0.12 2021-07-20 LTS
OpenJDK Runtime Environment Zulu11.50+19-CA (build 11.0.12+7-LTS)
OpenJDK 64-Bit Server VM Zulu11.50+19-CA (build 11.0.12+7-LTS, mixed mode)
brohlfs$ bazelisk version
Bazelisk version: v1.11.0
Build label: 5.0.0
Build target: bazel-out/darwin_arm64-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Wed Jan 19 14:16:16 2022 (1642601776)
Build timestamp: 1642601776
Build timestamp as int: 1642601776
brohlfs$ npm version
{
gerrit: '3.1.0-SNAPSHOT',
npm: '8.5.0',
node: '16.14.0',
v8: '9.4.146.24-node.20',
uv: '1.43.0',
zlib: '1.2.11',
brotli: '1.0.9',
ares: '1.18.1',
modules: '93',
nghttp2: '1.45.1',
napi: '8',
llhttp: '6.0.4',
openssl: '1.1.1m+quic',
cldr: '40.0',
icu: '70.1',
tz: '2021a3',
unicode: '14.0',
ngtcp2: '0.1.0-DEV',
nghttp3: '0.1.0-DEV'
}