ngx-cookie icon indicating copy to clipboard operation
ngx-cookie copied to clipboard

Error/Warning while installing [email protected] (Please update peerDependencies)

Open TheJLifeX opened this issue 2 years ago • 4 comments

Describe the bug Please update peerDependencies from "ngx-cookie": "6.0.0" to "ngx-cookie": "^6.0.0" here

To Reproduce Steps to reproduce the behavior:

  1. npm install ngx-cookie --save
  2. npm install ngx-cookie-backend --save
  3. See error: npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: [email protected] npm ERR! node_modules/ngx-cookie npm ERR! ngx-cookie@"^6.0.1" from the root project npm ERR! Could not resolve dependency: npm ERR! peer ngx-cookie@"6.0.0" from [email protected] npm ERR! node_modules/ngx-cookie-backend npm ERR! ngx-cookie-backend@"*" 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

Expected behavior Should install without error.

Environment:

Angular CLI: 14.2.3 Node: 16.17.0 Package Manager: npm 8.17.0 OS: win32 x64

Angular: 14.2.3 ... animations, cli, common, compiler, compiler-cli, core, forms ... platform-browser, platform-browser-dynamic, platform-server ... router

Package Version

@angular-devkit/architect 0.1402.3 @angular-devkit/build-angular 14.2.3 @angular-devkit/core 14.2.3 @angular-devkit/schematics 14.2.3 @nguniversal/builders 14.2.0 @nguniversal/express-engine 14.2.0 @schematics/angular 14.2.3 rxjs 7.5.6 typescript 4.7.4

TheJLifeX avatar Sep 22 '22 20:09 TheJLifeX

Same issue

pankaj-yadav0507 avatar Oct 31 '22 10:10 pankaj-yadav0507

do we have update on this ?

Davidtsiklauri avatar Jan 06 '23 17:01 Davidtsiklauri

Same issue.

selected-pixel-jameson avatar Feb 17 '23 10:02 selected-pixel-jameson

@salemdar Is there anyway we can get this resolved? This basically makes ngx-cookie-backend unusable in Angular 15 due to issue #387.

selected-pixel-jameson avatar Feb 17 '23 19:02 selected-pixel-jameson