You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Node.js v18 will reach its End-of-Life on 2025-04-30 and as a result will
not be supported with the upcoming Angular v20.
Node.js Release Schedule: https://github.com/nodejs/release#release-schedule
BREAKING CHANGE: Node.js v18 is no longer supported with Angular.
Before updating a project to Angular v20, the Node.js version must be
at least 20.11.1. For the full list of supported Node.js versions,
see https://angular.dev/reference/versions.
# The below can be removed once @rules_nodejs/nodejs is updated to latest which contains https://github.com/bazelbuild/rules_nodejs/pull/3701
83
-
node_repositories=NODE_18_REPO,
84
-
node_version="18.19.1",
85
-
)
86
-
87
80
# Set the default nodejs toolchain to the latest supported major version
88
81
nodejs_register_toolchains(
89
82
name="nodejs",
90
83
# The below can be removed once @rules_nodejs/nodejs is updated to latest which contains https://github.com/bazelbuild/rules_nodejs/pull/3701
91
-
node_repositories=NODE_18_REPO,
84
+
node_repositories=NODE_20_REPO,
92
85
node_version=DEFAULT_NODE_VERSION,
93
86
)
94
87
95
88
nodejs_register_toolchains(
96
89
name="node20",
97
90
# The below can be removed once @rules_nodejs/nodejs is updated to latest which contains https://github.com/bazelbuild/rules_nodejs/pull/3701
0 commit comments