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
Indeed, I was just confused because I got a weird error during "ng build" on v17.rc-1 when using Node v20.
An unhandled exception occurred: Invalid URL
See "/private/var/folders/6q/zfv9dpln0k1897hvcd1r9ylr0000gn/T/ng-8aEWOu/angular-errors.log" for further details.
$ cat /private/var/folders/6q/zfv9dpln0k1897hvcd1r9ylr0000gn/T/ng-8aEWOu/angular-errors.log
[error] TypeError [ERR_INVALID_URL]: Invalid URL
at new NodeError (node:internal/errors:405:5)
at new URL (node:internal/url:778:13)
at moduleResolve (node:internal/modules/esm/resolve:821:16)
at defaultResolve (node:internal/modules/esm/resolve:1034:11)
at nextResolve (node:internal/modules/esm/hooks:832:28)
at Hooks.resolve (node:internal/modules/esm/hooks:277:30)
at ModuleLoader.resolve (node:internal/modules/esm/loader:337:35)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:220:38)
at ModuleLoader.import (node:internal/modules/esm/loader:307:34)
at Hooks.register (node:internal/modules/esm/hooks:138:51)
at MessagePort.handleMessage (node:internal/modules/esm/worker:168:24)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:807:20)
at exports.emitMessage (node:internal/per_context/messageport:23:28)
Okey, thanks. This is a bit unfortunate for our team, since we have to choose between a potentially unstable Angular Version 17 with support for the current LTS version of Node.js (20) or the LTS Version 16 of Angular with an older version of Node.js (18).
Will support for Node 20 be backported to Angular 15 and 16? Both will still be supported for 6 to 12 months, and making developers switch between node versions for different projects just because it's not officially supported is not ideal (speaking as a platform engineer for our team). The PR did not need to make any changes, right? So maybe just backporting the tests would enable official Node 20 support for Angular 15 and 16?
While the above mentioned PR doesn’t add any changes, there were other PRs that were landed before hand that were required to support Node 20 included but not limited to updateding NPM dependencies.
Reacted by Jan Melcher
angular-automatic-lock-bot commented on Dec 9, 2023
Activity
marcj commentedon Oct 26, 2023
Indeed, I was just confused because I got a weird error during "ng build" on v17.rc-1 when using Node v20.
It goes away with using Node 18.
fix(@angular/cli): add Node.js 20 as support version
fix(@angular/cli): add Node.js 20 as supported version
fix(@angular/cli): add Node.js 20 as supported version
fix(@angular/cli): add Node.js 20 as supported version
fix(@angular/cli): add Node.js 20 as supported version
fix(@angular/cli): add Node.js 20 as supported version
fix(@angular/cli): add Node.js 20 as supported version
fix(@angular/cli): add Node.js 20 as supported version
fix(@angular/cli): add Node.js 20 as supported version
fix(@angular/cli): add Node.js 20 as supported version
daazb001 commentedon Nov 7, 2023
Is this Info than still correct?
Here only versions 16 and 18 are listed as supported.
https://angular.io/guide/versions#:~:text=x%20%7C%7C%2016.2.x-,%5E16.14.0%20%7C%7C%20%5E18.10.0,-%3E%3D4.9.3%20%3C5.2.0
JeanMeche commentedon Nov 7, 2023
For v16 yes. If you want Node20 support, you have to use v17.
daazb001 commentedon Nov 7, 2023
Okey, thanks. This is a bit unfortunate for our team, since we have to choose between a potentially unstable Angular Version 17 with support for the current LTS version of Node.js (20) or the LTS Version 16 of Angular with an older version of Node.js (18).
alan-agius4 commentedon Nov 7, 2023
v17 will be released as stable tomorrow.
Yogu commentedon Nov 8, 2023
Will support for Node 20 be backported to Angular 15 and 16? Both will still be supported for 6 to 12 months, and making developers switch between node versions for different projects just because it's not officially supported is not ideal (speaking as a platform engineer for our team). The PR did not need to make any changes, right? So maybe just backporting the tests would enable official Node 20 support for Angular 15 and 16?
JeanMeche commentedon Nov 8, 2023
LTS versions (v15, v16 today) only receive security updates.
alan-agius4 commentedon Nov 8, 2023
While the above mentioned PR doesn’t add any changes, there were other PRs that were landed before hand that were required to support Node 20 included but not limited to updateding NPM dependencies.
angular-automatic-lock-bot commentedon Dec 9, 2023
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.