Skip to content

Conversation

@alan-agius4
Copy link
Contributor

This change modifies the sync-module-bazel script to replace node_version_from_nvmrc with a concrete node_version derived from .nvmrc when processing the node.toolchain arguments.

This workaround addresses a bug with node_version_from_nvmrc when used alongside node_repositories in rules_nodejs (specifically < 6.6.3), ensuring that the toolchain is correctly configured with the specific Node.js version and its corresponding repositories.

…in Bazel module

This change modifies the `sync-module-bazel` script to replace `node_version_from_nvmrc` with a concrete `node_version` derived from `.nvmrc` when processing the `node.toolchain` arguments.

This workaround addresses a bug with `node_version_from_nvmrc` when used alongside `node_repositories` in `rules_nodejs` (specifically < 6.6.3), ensuring that the toolchain is correctly configured with the specific Node.js version and its corresponding repositories.
@alan-agius4 alan-agius4 added the action: merge The PR is ready for merge by the caretaker label Jan 10, 2026
@alan-agius4 alan-agius4 removed the request for review from josephperrott January 12, 2026 08:08
@alan-agius4 alan-agius4 merged commit 3ec78dc into angular:main Jan 12, 2026
8 checks passed
@alan-agius4 alan-agius4 deleted the nvmrc-workaround branch January 12, 2026 08:08
@alan-agius4
Copy link
Contributor Author

This PR was merged into the repository. The changes were merged into the following branches:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants