Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi Team,
My project is running on Angular 10.0.3v and Node 16.16v , when I am trying in install power Bi client angular or power Bi client facing challenges due to version compatabilities in application. Even I tried to install lowest version having compling issue, either we need to upgrade Node Js or Angular >=12v to make it work however I am afraid we might face deprecation or dependency , errors if we upgrade.
Can anyone guide to how approach better solution to integrate power BI in my application.
Thank you,
A S Aarthi
Hi Xiaoxin Sheng,
Thank you for the reply, i have tried installing npm i powerbi-client-angular@1.0.1 also from other npm npm i powerbi-client packages in lower versions yet...
config global `--global`, `--local` are deprecated. Use `--location=global` instead.
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: angular-google-tag-manager@1.4.2
npm ERR! Found: @angular/common@10.0.14
npm ERR! node_modules/@angular/common
npm ERR! peer @angular/common@"10.0.14" from @angular/forms@10.0.14
npm ERR! node_modules/@angular/forms
npm ERR! @angular/forms@"~10.0.4" from the root project
npm ERR! peer @angular/common@"10.0.14" from @angular/platform-browser@10.0.14
npm ERR! node_modules/@angular/platform-browser
npm ERR! peer @angular/platform-browser@"10.0.14" from @angular/forms@10.0.14
npm ERR! node_modules/@angular/forms
npm ERR! @angular/forms@"~10.0.4" from the root project
npm ERR! peer @angular/platform-browser@"10.0.14" from @angular/platform-browser-dynamic@10.0.14
npm ERR! node_modules/@angular/platform-browser-dynamic
npm ERR! @angular/platform-browser-dynamic@"~10.0.4" from the root project
npm ERR! 3 more (@angular/router, ngx-image-cropper, the root project)
npm ERR! 5 more (@angular/platform-browser-dynamic, @angular/router, ...)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/common@"^12.0.3" from angular-google-tag-manager@1.4.2
npm ERR! node_modules/angular-google-tag-manager
npm ERR! angular-google-tag-manager@"^1.4.2" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: @angular/common@12.2.17
npm ERR! node_modules/@angular/common
npm ERR! peer @angular/common@"^12.0.3" from angular-google-tag-manager@1.4.2
npm ERR! node_modules/angular-google-tag-manager
npm ERR! angular-google-tag-manager@"^1.4.2" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See C:\Users\Ammagari.Sathyanand\AppData\Local\npm-cache\eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR!
HI @Aarthi0789,
If the old version also not able to work, you may need to try to contact the npm package support team to confirm if any suggestions about low versions support or try to use a higher version.
Regards,
Xiaoxin Sheng
Hi Xiaoxin, Tried to reach npm support team however it redirects to microsoft community team unfortunately.
Hi @Aarthi0789,
The angular version requires should be related to npm library, perhaps you can use the old version which support angular v10 version. You can find it on the version tag of npm manager:
powerbi-client-angular - npm (npmjs.com)
Regards,
Xiaoxin Sheng
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
13 | |
2 | |
1 | |
1 | |
1 |
User | Count |
---|---|
25 | |
3 | |
2 | |
2 | |
2 |