Upstream bazel_nodejs rules have removed the @nodejs repo, now the repo is named @nodejs_host to access the files for the host architecture, or e.g. @nodejs_linux_amd64 to target specific architectures (this was the case earlier too).
Since the toolchain is typically run on the host, we should simply replace @nodejs// with @nodejs_host// in BUILD.bazel files. Note however that this is a breaking change, and will also require users to update rules_nodejs.
However, without this change, users cannot upgrade rules_nodejs without patching the Emscripten SDK.
Upstream bazel_nodejs rules have removed the
@nodejsrepo, now the repo is named@nodejs_hostto access the files for the host architecture, or e.g.@nodejs_linux_amd64to target specific architectures (this was the case earlier too).Since the toolchain is typically run on the host, we should simply replace
@nodejs//with@nodejs_host//inBUILD.bazelfiles. Note however that this is a breaking change, and will also require users to update rules_nodejs.However, without this change, users cannot upgrade rules_nodejs without patching the Emscripten SDK.