microsoft / powerbi-client-angular

Power BI Angular component. This library lets you embed Power BI report, dashboard, dashboard tile, report visual, or Q&A in your Angular application.
Other
135 stars 65 forks source link

Cant import the named export 'Component' #36

Closed aryan2621 closed 1 year ago

aryan2621 commented 1 year ago

ERROR in ./node_modules/powerbi-client-angular/fesm2015/powerbi-client-angular.mjs 81:18-27 Can't import the named export 'Component' from non EcmaScript module (only default export is available) ERROR in ./node_modules/powerbi-client-angular/fesm2015/powerbi-client-angular.mjs 189:18-27 Can't import the named export 'Component' from non EcmaScript module (only default export is available)

  "powerbi-client-angular": "3.0.3",
     "@angular/cdk": "9.2.4",
    "@angular/common": "~9.1.13",
    "@angular/compiler": "~9.1.13",
KotanaSai21 commented 1 year ago

Package is built on Angular 13. So, there might be some breaking issues. Please Upgrade your sample application. You can also try to install lower version of package.

Feel free to reach out to us, if you have any other queries.