Errors with angular 9 using ivy
See original GitHub issueThis is happening with version 0.6.2, i’m using Angular 9
Error: Tried to write node_modules/angular2-query-builder/dist/angular2-query-builder/lib/query-builder/query-operator.directive.d.ts.__ivy_ngcc_bak with an ngcc back up file but it already exists so not writing, nor backing up, node_modules/angular2-query-builder/dist/angular2-query-builder/lib/query-builder/query-operator.directive.d.ts.
This error may be because two or more entry-points overlap and ngcc has been asked to process some files more than once.
You should check other entry-points in this package and set up a config to ignore any that you are not using.
Error: Tried to write node_modules/angular2-query-builder/dist/angular2-query-builder/lib/query-builder/query-field.directive.d.ts.__ivy_ngcc_bak with an ngcc back up file but it already exists so not writing, nor backing up, node_modules/angular2-query-builder/dist/angular2-query-builder/lib/query-builder/query-field.directive.d.ts.
This error may be because two or more entry-points overlap and ngcc has been asked to process some files more than once.
You should check other entry-points in this package and set up a config to ignore any that you are not using.
Error: Tried to write node_modules/angular2-query-builder/dist/angular2-query-builder/lib/query-builder/query-entity.directive.d.ts.__ivy_ngcc_bak with an ngcc back up file but it already exists so not writing, nor backing up, node_modules/angular2-query-builder/dist/angular2-query-builder/lib/query-builder/query-entity.directive.d.ts.
This error may be because two or more entry-points overlap and ngcc has been asked to process some files more than once.
You should check other entry-points in this package and set up a config to ignore any that you are not using.
Error: Tried to write node_modules/angular2-query-builder/dist/angular2-query-builder/lib/query-builder/query-switch-group.directive.d.ts.__ivy_ngcc_bak with an ngcc back up file but it already exists so not writing, nor backing up, node_modules/angular2-query-builder/dist/angular2-query-builder/lib/query-builder/query-switch-group.directive.d.ts.
This error may be because two or more entry-points overlap and ngcc has been asked to process some files more than once.
You should check other entry-points in this package and set up a config to ignore any that you are not using.
Error: Tried to write node_modules/angular2-query-builder/dist/angular2-query-builder/lib/query-builder/query-button-group.directive.d.ts.__ivy_ngcc_bak with an ngcc back up file but it already exists so not writing, nor backing up, node_modules/angular2-query-builder/dist/angular2-query-builder/lib/query-builder/query-button-group.directive.d.ts.
This error may be because two or more entry-points overlap and ngcc has been asked to process some files more than once.
You should check other entry-points in this package and set up a config to ignore any that you are not using.
Error: Tried to write node_modules/angular2-query-builder/dist/angular2-query-builder/lib/query-builder/query-input.directive.d.ts.__ivy_ngcc_bak with an ngcc back up file but it already exists so not writing, nor backing up, node_modules/angular2-query-builder/dist/angular2-query-builder/lib/query-builder/query-input.directive.d.ts.
This error may be because two or more entry-points overlap and ngcc has been asked to process some files more than once.
You should check other entry-points in this package and set up a config to ignore any that you are not using.
Error: Tried to write node_modules/angular2-query-builder/dist/angular2-query-builder/lib/query-builder/query-remove-button.directive.d.ts.__ivy_ngcc_bak with an ngcc back up file but it already exists so not writing, nor backing up, node_modules/angular2-query-builder/dist/angular2-query-builder/lib/query-builder/query-remove-button.directive.d.ts.
This error may be because two or more entry-points overlap and ngcc has been asked to process some files more than once.
You should check other entry-points in this package and set up a config to ignore any that you are not using.
Error: Tried to write node_modules/angular2-query-builder/dist/angular2-query-builder/lib/query-builder/query-empty-warning.directive.d.ts.__ivy_ngcc_bak with an ngcc back up file but it already exists so not writing, nor backing up, node_modules/angular2-query-builder/dist/angular2-query-builder/lib/query-builder/query-empty-warning.directive.d.ts.
This error may be because two or more entry-points overlap and ngcc has been asked to process some files more than once.
You should check other entry-points in this package and set up a config to ignore any that you are not using.
Error: Tried to write node_modules/angular2-query-builder/dist/angular2-query-builder/lib/query-builder/query-arrow-icon.directive.d.ts.__ivy_ngcc_bak with an ngcc back up file but it already exists so not writing, nor backing up, node_modules/angular2-query-builder/dist/angular2-query-builder/lib/query-builder/query-arrow-icon.directive.d.ts.
This error may be because two or more entry-points overlap and ngcc has been asked to process some files more than once.
You should check other entry-points in this package and set up a config to ignore any that you are not using.
Error: Tried to write node_modules/angular2-query-builder/dist/angular2-query-builder/lib/query-builder/query-builder.component.d.ts.__ivy_ngcc_bak with an ngcc back up file but it already exists so not writing, nor backing up, node_modules/angular2-query-builder/dist/angular2-query-builder/lib/query-builder/query-builder.component.d.ts.
This error may be because two or more entry-points overlap and ngcc has been asked to process some files more than once.
You should check other entry-points in this package and set up a config to ignore any that you are not using.
Error: Tried to write node_modules/angular2-query-builder/dist/angular2-query-builder/lib/angular2-query-builder.module.d.ts.__ivy_ngcc_bak with an ngcc back up file but it already exists so not writing, nor backing up, node_modules/angular2-query-builder/dist/angular2-query-builder/lib/angular2-query-builder.module.d.ts.
This error may be because two or more entry-points overlap and ngcc has been asked to process some files more than once.
You should check other entry-points in this package and set up a config to ignore any that you are not using.
Error: Tried to write node_modules/angular2-query-builder/dist/angular2-query-builder/angular2-query-builder.d.ts.__ivy_ngcc_bak with an ngcc back up file but it already exists so not writing, nor backing up, node_modules/angular2-query-builder/dist/angular2-query-builder/angular2-query-builder.d.ts.
This error may be because two or more entry-points overlap and ngcc has been asked to process some files more than once.
You should check other entry-points in this package and set up a config to ignore any that you are not using.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Angular Upgrade from 8 to 9 - Ivy Compilation Errors in ...
In version 8 i was not using Ivy, i was using View Engine as it is the default. After the upgrade to 9...
Read more >All Perks, No Hassle: An Angular 9 Tutorial - Toptal
Angular Ivy allows us to have errors presented in a clearer way and helps enforce TypeScript typing in our code. In the following...
Read more >App does not compile with Ivy - Angular 9 #32466 - GitHub
I'm using 16.0.2 together with Angular bbd4a33 (a commit from today). The compilation failures you're seeing might be related to the fix being ......
Read more >Angular Ivy
If you are a library author, you should keep using the View Engine compiler as of version 9. By having all libraries continue...
Read more >Angular compiler options
Most of the time you interact with the Angular Compiler indirectly using Angular CLI. When debugging certain issues, you might find it useful...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Which version of angular2-query-builder are you using? My example works with 0.6.2, and Angular version more than 9.
You can fix it by placing an ngcc.config.js file at the root of the project next to your package.json file with this code: