angular-aot Questions

1

All my svg's work perfectly in dev mode, as soon as I run `ng build --prod --aot" they are not loading. They all fallback to the png image. I can't figure out how to fix it. I have been on github a...
Circumscribe asked 27/11, 2017 at 23:26

2

I wrote an angular library with some services to use this in different angular applications. Everything works fine without --prod, so without AOT compile, in the angular application. Generating th...
Manatarms asked 21/10, 2018 at 19:1

6

Solved

In Angular v6, when attempting to build my library I am running into an extremely non-descriptive BUILD ERROR Cannot read property 'type' of null BUILD ERROR Cannot read property 'type' of null Ty...
Dabster asked 26/5, 2018 at 2:40

3

I am capturing output event in method without parameter and it's working fine. but when i try to build AOT --prod getting folloing error. Expected 0 arguments, but got 1 Html code: SaveSortOrd...
Quadruplex asked 22/2, 2018 at 16:2

2

I have an angular 9 project which is part of an application suite installer [Wix installer]. One of the settings used by the angular app is the address of API which it fetches its data from some co...

0

So I have been building an Angular 9 app where there is a customer dashboard to manage their templates which are saved on the server. Those templates can be viewed on different devices through an a...
Agog asked 18/3, 2020 at 9:7

4

Solved

I am facing issue when i want to compile my current project in AOT with following package version : @ngtools/[email protected] @angular@latest (6.0.2) [email protected] my webpack and...
Rosati asked 18/5, 2018 at 7:23

4

Solved

Is it okay to mark a ViewChild as private, if it's not being referenced in the template? I have been able to do this, then build and serve with the '--prod' flag, and encountered no errors. I'm cu...
Lanugo asked 4/12, 2018 at 19:54

4

Solved

I have an Angular (4.3.2) application on which I want to perform an AOT build. App was created using @angular/cli. I have two components scaffolded with ng generate and a module in which both are i...
Lovegrass asked 31/8, 2017 at 16:39

1

Solved

The Angular docs specify several reasons for using AOT compilation in favor of JIT: Faster rendering Fewer asynchronous requests Smaller Angular framework download size Detect template errors ear...
Vanatta asked 28/6, 2019 at 7:30

3

Solved

import { environment } from '@env/environment'; export const routes: Routes = [ { path: '', children: [ { path: 'organisations', component: OrganisationListComponent, data: { [environment....
Faeroese asked 6/3, 2019 at 19:25

1

I'm using angular compiler: const AngularCompilerPlugin = require('@ngtools/webpack').AngularCompilerPlugin; With these compiler options: "angularCompilerOptions": { "genDir": "./build/compiled",...
Dentate asked 19/6, 2018 at 4:5

2

Solved

I'm trying to make an aot build with webpack 3 and angular 5, but there are so many tutorials on the net and none show complete example without questions, so far I've got the following configuratio...
Regenerative asked 18/11, 2017 at 10:57

2

Solved

On angular5, i try to have on same project AOT compilation for most of my module/component... but i have one part who need to be JIT compiled. For this second part, HTML come from Ajax request and...
Lim asked 13/3, 2018 at 6:50

0

I just upgraded my Angular application to version 5, which worked fine. However, once I upgraded a few other things (like @angular/cdk, @angular/material, typescript) I had to fix a bunch of bugs t...
Emissary asked 7/11, 2017 at 6:21

1

Solved

I have a project in which several frontends sharing a common lib. The module dependencies of those projects are managed by npm. So, in the package.json of each of those projects I have : "depen...
Sawdust asked 3/10, 2017 at 9:7
1

© 2022 - 2024 — McMap. All rights reserved.