Forum Discussion
Cannot install npm i powerbi-client-angular in Angular 10 and Node 16v
Hi Xiaoxin Sheng,
Thank you for the reply, i have tried installing npm i [email protected] also from other npm npm i powerbi-client packages in lower versions yet i get this following errors.
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: [email protected]
npm ERR! Found: @angular/[email protected]
npm ERR! node_modules/@angular/common
npm ERR! peer @angular/common@"10.0.14" from @angular/[email protected]
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/[email protected]
npm ERR! node_modules/@angular/platform-browser
npm ERR! peer @angular/platform-browser@"10.0.14" from @angular/[email protected]
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/[email protected]
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 [email protected]
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/[email protected]
npm ERR! node_modules/@angular/common
npm ERR! peer @angular/common@"^12.0.3" from [email protected]
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!
- Anonymous2 years agoNot applicable
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
- Aarthi07892 years agoNew Member
Hi Xiaoxin, Tried to reach npm support team however it redirects to microsoft community team unfortunately.