Questions tagged [angular-ivy]

Ivy is the code name for Angular's next-generation compilation and rendering pipeline. Use this tag for Angular questions which are specific to only the rendering engine.

Ivy is the code name for Angular's next-generation compilation and rendering pipeline. With the version 9 release of Angular, the new compiler and runtime instructions are used by default instead of the older compiler and runtime, known as View Engine.

213 questions
3
votes
0 answers

work only localhost:4000/index.html in angular 8 universal with Ivy

I have a project with angular(v8.2.9) universal(v8.1.1) and Ivy. I builing and run server side with below command. npm run build:ssr && npm run serve:ssr build and run successfully but when enter localhost:4000 in browser show white page without…
or123456
  • 2,091
  • 8
  • 28
  • 50
3
votes
1 answer

Get injector from module in angular 8

Problem: I am setting up lazy loading for non-routed module in angular. At version 7 I used NgModuleFactoryLoader and it's function load to lazy load module and get first entry point to the module (service in out…
Jack Hudzenko
  • 157
  • 3
  • 14
3
votes
1 answer

Angular 8 Enable Ivy Error - Value at position 0 in the NgModule.importss of FirebaseModule is not a reference: [object Object]

I have a repo in github that you can see here and I'm trying to enable Ivy but without luck yet. The error that is showing is: ERROR in src/app/shared/modules/firebase.module.ts(7,12): error TS-991010: Value at position 0 in the NgModule.importss of…
ismaestro
  • 7,561
  • 8
  • 37
  • 50
3
votes
2 answers

ngFor produces empty content - Angular 7 IVY

I'm playing around with angular 7 and ivy, and I cannot get a for loop to spit out any values. My code: @Component({ selector: 'app-asset-list', templateUrl: './asset-list.component.html', styleUrls: ['./asset-list.component.scss'] }) export…
Jeff
  • 4,285
  • 15
  • 63
  • 115
2
votes
1 answer

Angular 13 Update "Duplicate identifier" Error

I am maintaining a private npm-package that provides angular-components. I am trying to update the package to angular 13 (from angular 12) and got everything to work, so I released a new version to npm. When I tried to use the package I get several…
G. Egli
  • 203
  • 1
  • 6
2
votes
1 answer

Angular get viewContainerRef of ViewRef

i have a definition of templates in my angular app:
{{cell.id}}
Right now I create "rows" in a directive based…
Draftsman
  • 303
  • 1
  • 3
  • 15
2
votes
1 answer

angular 13 ivy: use component html recursively ==> "The component 'x' is used in the template but importing it would create a cycle: "

I understand this error but i need help finding a solution. Im making a CMS ui. It has a form.component.html which uses fields.component.html one of the fields is a field-set.component.html which re-imports fields.component.html I want this…
Omar
  • 2,726
  • 2
  • 32
  • 65
2
votes
1 answer

Angular update 8 to 9: NG6002: Appears in the NgModule.imports of AppModule, but itself has errors

I've searching for an answer but could not find any solution that fix the issue. I have updated version of Angular from version 8 to version 9. Everything worked fine on 8 but after update app does not compile due to…
Michał Sawicki
  • 49
  • 1
  • 10
2
votes
1 answer

Exclude components from build using Angular Ivy

I am building two separate sites from a single angular project. I am using environment variables to keep track of the single site. export const getHomeComponent = (): any => { switch (environment.sitename) { case EmbassyName.BHCL: …
desertSniper87
  • 795
  • 2
  • 13
  • 25
2
votes
1 answer

Angular v9 to v10 update error `Cannot add the "@Injectable" decorator to providers which don't have that decorator set.`

I'm updating an Angular library version from v9.1.13 to v10.2.5, but getting the following error: Migration failed: Could not find any tsconfig file. Cannot add the "@Injectable" decorator to providers which don't have that decorator set. I…
Gourav Pokharkar
  • 1,568
  • 1
  • 11
  • 33
2
votes
0 answers

Ivy on hybrid apps(angular+angularjs)

Very simple question, my team has upgrade from angular 7 to 11. I would like to know, can we enable ivy(flag:true) when our app is a hybrid app(angularjs typescipt + angular), if so what are the changes which need to be made, if not possible then…
Brk
  • 1,247
  • 2
  • 23
  • 55
2
votes
1 answer

NGXS doesn't work when update to Angular 9 with Ivy enabled

I'm trying to update my application to Angular 9. Everything runs fine when I disable the Ivy, but with Ivy enabled the application doesn't finish the serve task correctly: My component: choosePlan(plan: IPlan) { if (!this.isAddressValid()) { …
2
votes
2 answers

Telling Scully to Ignore Static Page Generation for a Route?

Suppose we have the following routes defined: const routes: Routes = [ { path: '', component: WelcomeComponent }, { path: 'start', component: StartComponent } Is the a way to tell Scully to skip generation fo a static…
Ole
  • 41,793
  • 59
  • 191
  • 359
2
votes
1 answer

The target entry-point "@vcd/ui-components" has missing dependencies:

I'm getting the following error when I npm start the application at https://github.com/juanmendes/vmware-cloud-director-ui-components for the branch named ryan-a11y-merge-to-master. If I run the master branch, I get no errors. ERROR in The target…
Ruan Mendes
  • 90,375
  • 31
  • 153
  • 217
2
votes
0 answers

NativeScript - cannot compile with nativescript-ui-sidedrawer plugin after Angular 9 upgrade

I had a NativeScript app made with Angular 8.2.0 and NS 6.4.1. I had this plugin (https://github.com/ProgressNS/nativescript-ui-feedback) nativescript-ui-sidedrawer included in my project and it was working fine and I could compile the project. I…
Aubrey Quinn
  • 311
  • 1
  • 3
  • 10