Angular-QueryBuilder
Angular-QueryBuilder copied to clipboard
Errors with angular 9 using ivy
This 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.
I have disabled ivy option in 0.6.2. If you need ivy try 0.6.1, let me know if that fixes it. I’m cannot find documentation regarding how to support both ivy and non-ivy modes in Angular 9.
@zebzhao This error does not affect the use. Because the publish package includs dist and projects,It's enough to release "dist/angular2-query-builder"
Would be nice to have it fixed eventually. Everything still works, but getting errors (not even warnings) during the build is suboptimal at best.
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:
module.exports = {
packages: {
'angular2-query-builder': {
entryPoints: {
'./dist/angular2-query-builder': {
ignore: true
}
}
}
}
};
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:
module.exports = { packages: { 'angular2-query-builder': { entryPoints: { './dist/angular2-query-builder': { ignore: true } } } } };
sorry but this does not work for me.
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:
module.exports = { packages: { 'angular2-query-builder': { entryPoints: { './dist/angular2-query-builder': { ignore: true } } } } };
sorry but this does not work for me.
Which version of angular2-query-builder are you using? My example works with 0.6.2, and Angular version more than 9.