Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

583
Vistas
ERROR unable to resolve dependency tree when installing ngrx store with Angular 13

I have an issue when I use this command:

ng add @ngrx/store@latest

I get this 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

Any idea what causes the issue and how to fix it?

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

You have @angular/core at version 13, but @ngrx/store has support until Angular 12.

If you install the latest tag it will grab 12.5.1 which does not work in your case.

You should consider ng add @ngrx/store@next to grab the version 13.0.0-beta.0


You can see everything with 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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda