Hello,
I encounter issues when I try to install or uninstall a package using NPM.
For example, when I launch the command npm uninstall @awesome-cordova-plugins/barcode-scanner
, I get the kind of warning/errors indicated in the list below.
I am not sure to know the better way to correctly fix this problem. Could someone help me with this?
Thanks for your help,
Loïc
The errors:
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: @awesome-cordova-plugins/barcode-scanner@5.37.1
npm WARN Found: @awesome-cordova-plugins/core@6.2.0
npm WARN node_modules/@awesome-cordova-plugins/core
npm WARN peer @awesome-cordova-plugins/core@"^6.0.1" from @awesome-cordova-plugins/camera@6.2.0
npm WARN node_modules/@awesome-cordova-plugins/camera
npm WARN @awesome-cordova-plugins/camera@"^6.2.0" from the root project
npm WARN 2 more (@awesome-cordova-plugins/device-orientation, the root project)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer @awesome-cordova-plugins/core@"^5.1.0" from @awesome-cordova-plugins/barcode-scanner@5.37.1
npm WARN node_modules/@awesome-cordova-plugins/barcode-scanner
npm WARN
npm WARN Conflicting peer dependency: @awesome-cordova-plugins/core@5.46.0
npm WARN node_modules/@awesome-cordova-plugins/core
npm WARN peer @awesome-cordova-plugins/core@"^5.1.0" from @awesome-cordova-plugins/barcode-scanner@5.37.1
npm WARN node_modules/@awesome-cordova-plugins/barcode-scanner
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: @awesome-cordova-plugins/barcode-scanner@5.37.1
npm WARN Found: rxjs@6.6.7
npm WARN node_modules/rxjs
npm WARN rxjs@"6.6.7" from @angular-devkit/architect@0.1202.13
npm WARN node_modules/@angular-devkit/architect
npm WARN dev @angular-devkit/architect@"^0.1202.13" from the root project
npm WARN 48 more (@angular-devkit/core, @angular-devkit/build-angular, ...)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer rxjs@"^5.5.0 || ^7.3.0" from @awesome-cordova-plugins/barcode-scanner@5.37.1
npm WARN node_modules/@awesome-cordova-plugins/barcode-scanner
npm WARN
npm WARN Conflicting peer dependency: rxjs@7.5.7
npm WARN node_modules/rxjs
npm WARN peer rxjs@"^5.5.0 || ^7.3.0" from @awesome-cordova-plugins/barcode-scanner@5.37.1
npm WARN node_modules/@awesome-cordova-plugins/barcode-scanner
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: @ngrx/effects@14.3.2
npm ERR! Found: @angular/core@12.2.14
npm ERR! node_modules/@angular/core
npm ERR! peer @angular/core@"12.2.14" from @angular/animations@12.2.14
npm ERR! node_modules/@angular/animations
npm ERR! peerOptional @angular/animations@"12.2.14" from @angular/platform-browser@12.2.14
npm ERR! node_modules/@angular/platform-browser
npm ERR! peer @angular/platform-browser@"12.2.14" from @angular/forms@12.2.14
npm ERR! node_modules/@angular/forms
npm ERR! peer @angular/forms@">=8.2.7" from @ionic/angular@5.9.2
npm ERR! node_modules/@ionic/angular
npm ERR! 1 more (the root project)
npm ERR! 3 more (@angular/platform-browser-dynamic, @angular/router, the root project)
npm ERR! @angular/animations@"^12.2.14" from the root project
npm ERR! peer @angular/core@"12.2.14" from @angular/common@12.2.14
npm ERR! node_modules/@angular/common
npm ERR! peer @angular/common@"12.2.14" from @angular/forms@12.2.14
npm ERR! node_modules/@angular/forms
npm ERR! peer @angular/forms@">=8.2.7" from @ionic/angular@5.9.2
npm ERR! node_modules/@ionic/angular
npm ERR! @ionic/angular@"^5.9.1" from the root project
npm ERR! 1 more (the root project)
npm ERR! peer @angular/common@"12.2.14" from @angular/platform-browser@12.2.14
npm ERR! node_modules/@angular/platform-browser
npm ERR! peer @angular/platform-browser@"12.2.14" from @angular/forms@12.2.14
npm ERR! node_modules/@angular/forms
npm ERR! peer @angular/forms@">=8.2.7" from @ionic/angular@5.9.2
npm ERR! node_modules/@ionic/angular
npm ERR! 1 more (the root project)
npm ERR! 3 more (@angular/platform-browser-dynamic, @angular/router, the root project)
npm ERR! 6 more (@angular/platform-browser-dynamic, @angular/router, ...)
npm ERR! 9 more (@angular/forms, @angular/platform-browser, ...)