Alan Agius

Results 632 comments of Alan Agius

Couple of drive by comments - I think that the value of the token to be from an enum. We want to use this for stats and thus we should...

The names `renderApplication`/`renderModule` might be slightly a confusing terminology. Because when using SSR/SSG/App-Shell, while you indeed bootstrap an application. What is actually needed is to render a **single route**, after...

This is caused by symbolic links being resolved using their real path which eventually would cause node module resolution to fail. You need to spawn the CLI using [`node --preserve-symlinks`](https://nodejs.org/dist./v8.14.0/docs/api/cli.html#cli_preserve_symlinks)...

Can you try the below please? ``` set BAZEL_TARGET="1" && node --preserve-symlinks "node_modules/.bin/ng" s ``` Or ``` set BAZEL_TARGET="1" && node --preserve-symlinks node_modules/@angular/cli/lib/init.js s ```

> Does it mean the https://github.com/angular/angular/blob/main/docs/DEVELOPER.md#building needs to be updated? Yes.

@alxhub, this seems to be caused by the compiler. ``` $ ngc -p tsconfig.app.json error TS500: TypeError: propName.toLowerCase is not a function at DomElementSchemaRegistry.securityContext (file:///xxxxxx/node_modules/@angular/compiler/fesm2015/compiler.mjs:14884:29) at file:///xxxxxx/node_modules/@angular/compiler/fesm2015/compiler.mjs:15433:71 at Array.map ()...

This does indeed seem something which is caused by the runtime. Therefore, I am transferring this to the FW repo for a better triage.

This is expected as the `i18nDuplicateTranslation` is specific to the browser builder Ie: `ng build`.

We could expose a similar option to `i18nDuplicateTranslation`. Let me check with the rest of the team.