I'm getting the following error when trying to import the ag grid module in an Angular 8 app using Ivy.
ERROR in There is no format with import statements in 'path_to_node_modules/node_modules/ag-grid-angular' entry-point.
The error goes away if i disable Ivy. Does anyone know a workaround?
Packages versions:
"ag-grid-angular": "^21.0.0",
"ag-grid-community": "^21.0.0",
"ag-grid-enterprise": "^21.0.0",
This is actually an issue on the Angular CLI side - see this issue comment here: https://github.com/angular/angular/issues/29564#issuecomment-486957461
In the meantime I believe you'll be able to get Ivy to work with ag-Grid (and other similar libraries) by using @angular/compiler-cli@next
, instead of the latest Angular 8 release.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With