-
Notifications
You must be signed in to change notification settings - Fork 24.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug(docs-infra): AIO cannot build with Node.js v12 #42086
Comments
We should not allow node v12 in aio. Thanks @lacolaco |
The AIO doc-gen uses JavaScript syntax that requires node.js 14.0.0 or above. Closes angular#42086
Should not the range to be |
@vladimiry - yes you are correct. Do you want to submit a further PR? |
Nope, going to sleep soon. |
A very sensible thing to do. I should do the same 👍 |
#42367 is merged, and it sets the range in aio to |
The AIO doc-gen uses JavaScript syntax that requires node.js 14.0.0 or above. Closes angular#42086 PR Close angular#42093
The AIO doc-gen uses JavaScript syntax that requires node.js 14.0.0 or above. Closes angular#42086 PR Close angular#42093
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Docs or angular.io Bug Report
Description
angular/aio/tools/transforms/angular-api-package/processors/processNgModuleDocs.js
Line 100 in 2e7eb27
Because optional chaining is supported since Node.js v14, the current AIO build process fails on Node.js v12.
But AIO allows both v12 and v14. This is inconsistent.
angular/aio/package.json
Line 82 in 2e7eb27
Option 1. fix code for Node.js v12 compatibility
Option 2. allow v14 only
I can submit a patch for whichever, but I'd like to know which AIO team prefers.
The text was updated successfully, but these errors were encountered: