Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

587
Views
ERROR no se puede resolver el árbol de dependencias al instalar la tienda ngrx con Angular 13

Tengo un problema cuando uso este comando:

 ng add @ngrx/store@latest

me sale este error:

 npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: ngstore-app@0.0.0 npm ERR! Found: @angular/core@13.0.0 npm ERR! node_modules/@angular/core npm ERR! @angular/core@"~13.0.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer @angular/core@"^12.0.0" from @ngrx/store@12.5.1 npm ERR! node_modules/@ngrx/store npm ERR! @ngrx/store@"12.5.1" 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 npm ERR! to accept an incorrect (and potentially broken) dependency resolution. npm ERR! npm ERR! See ...\AppData\Local\npm-cache\eresolve-report.txt for a full report. Versions tha I am using: Angular CLI: 13.0.1 Node: 16.13.0 Package Manager: npm 8.1.3

¿Alguna idea de qué causa el problema y cómo solucionarlo?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Tienes @angular/core en la versión 13, pero @ngrx/store tiene soporte hasta Angular 12.

Si instala la latest etiqueta, obtendrá 12.5.1 , que no funciona en su caso.

Debería considerar ng add @ngrx/store@next para obtener la versión 13.0.0-beta.0


Puedes ver todo con npm show @ngrx/store

 dist-tags: beta: 6.0.0-beta.2 latest: 12.5.1 next: 13.0.0-beta.0 v8-lts: 8.6.1 v9-lts: 9.2.1
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!