Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
TheJLifeX opened this issue Sep 22, 2022 · 4 comments
Labels

Comments

@TheJLifeX
Copy link

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 TheJLifeX added the bug label Sep 22, 2022
@TheJLifeX TheJLifeX changed the title Error/Warning while installing [email protected] (Please update peerDependencies) Error/Warning while installing [email protected] (Please update peerDependencies) Sep 22, 2022
@pankaj-yadav0507
Copy link

Same issue

@Davidtsiklauri
Copy link

do we have update on this ?

@selected-pixel-jameson
Copy link

Same issue.

@selected-pixel-jameson
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants