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: website-about-me@0.0.0
npm ERR! Found: ngx-cookie@6.0.1
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 ngx-cookie-backend@6.0.1
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
Describe the bug
Please update peerDependencies from
"ngx-cookie": "6.0.0"to"ngx-cookie": "^6.0.0"hereTo Reproduce
Steps to reproduce the behavior:
npm install ngx-cookie --savenpm install ngx-cookie-backend --savenpm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: website-about-me@0.0.0
npm ERR! Found: ngx-cookie@6.0.1
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 ngx-cookie-backend@6.0.1
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