ngx-cookie
ngx-cookie copied to clipboard
Error/Warning while installing [email protected] (Please update peerDependencies)
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:
-
npm install ngx-cookie --save
-
npm install ngx-cookie-backend --save
- 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
Same issue
do we have update on this ?
Same issue.
@salemdar Is there anyway we can get this resolved? This basically makes ngx-cookie-backend unusable in Angular 15 due to issue #387.