Angular-QueryBuilder
Angular-QueryBuilder copied to clipboard
Errors in ngcc with Angular 9
When running ngcc
in the postinstall
script, I get the following error for most entrypoints:
Error: Tried to write <redacted>/node_modules/angular2-query-builder/dist/angular2-query-builder/esm5/lib/query-builder/query-input.directive.js.__ivy_ngcc_bak with an ngcc back up file but it already exists so not writing, nor backing up, <redacted>/node_modules/angular2-query-builder/dist/angular2-query-builder/esm5/lib/query-builder/query-input.directive.js.
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.
It seems to work nonetheless, but I'd like to know whether this is a bug or this error is my fault.
Same here
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
}
}
}
}
};
thank
This might be a duplicate of https://github.com/zebzhao/Angular-QueryBuilder/issues/141