angular-compiler-cli Questions
2
Solved
How do I enable debug logs in ng build ? I want to see what the basePath is. The snippet below is from program_based_entry_point_finder.js.
node_modules\@angular\compiler-cli\ngcc\src\entry_point_f...
Prepossession asked 26/10, 2021 at 18:30
4
Solved
I updated Angular project from Angular 10 to 11x. Everything works normally, except for one warning on running project using ng serve (without any option in ng serve). The warning is:
Option "...
Jemine asked 2/4, 2021 at 12:23
1
Running command npm run ngcc throws the error 'ngcc' is not recognized as an internal or external command.
package.json
{
"scripts": {
"ngcc": "ngcc"
...
},
"...
Zebec asked 2/2, 2021 at 9:8
5
Solved
I was asked that today and was not able to give a proper answer.
Typescript transpiles to JS. Then there is tree shaking, "less" (optional) and what else in the process of making a deployment. But...
Hermaphrodite asked 10/10, 2017 at 15:22
1
Solved
An Angular component has decorators:
@Component({ ... })
export class MyAngularComponent {
@Input() myInputParam: MyType;
@Input() myOtherInputParam: MyOtherType;
@Output() myOutputParam: MyOth...
Jezabelle asked 25/10, 2017 at 16:36
2
Solved
Sometimes I use Mixins to inject repeated functions like slugUrl().
But it doesn't work with angular 4 compiler.
export function Mixin(decorators: Function[]) {
return function (classFn: Functio...
Amorete asked 28/4, 2017 at 11:55
1
I'm getting this error on my Ahead-of-Time compiled application:
Error: No provider for CompilerFactory!
at NoProviderError.BaseError [as constructor] (http://localhost:5050/app.js:2413:26)
at ...
Genovese asked 3/1, 2017 at 20:12
2
Solved
is there a way to use AOT with angular cli?
I've installed the modules (@angular/compiler @angular/compiler-cli) and when I type ngc -p scr it creates the ngFactory.ts files and compiles it to dis...
Schumer asked 26/8, 2016 at 13:32
1
© 2022 - 2024 — McMap. All rights reserved.