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

1.3K
Views
Solucione el conflicto de dependencia ascendente al crear un nuevo proyecto angular

Versión:
CLI angular: 12.1.1
Nodo: 14.17.3
Administrador de paquetes: npm 7.19.1

Se produjo un error al crear un nuevo proyecto angular.

 npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: angular-beginner@0.0.0 npm ERR! Found: jasmine-core@3.7.1 npm ERR! node_modules/jasmine-core npm ERR! dev jasmine-core@"~3.7.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer jasmine-core@">=3.8" from karma-jasmine-html-reporter@1.7.0 npm ERR! node_modules/karma-jasmine-html-reporter npm ERR! dev karma-jasmine-html-reporter@"^1.5.0" 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.

Después de buscar en StackOverflow, encontré esto y lo probé.

  1. Ejecute el comando con --force o --legacy-peer-deps
  2. desinstalación de npm –g @angular/CLI
    limpieza de caché npm --force
    instalación npm –g @angular/cli@latest

Pero aún así no resolvió el problema. AIT

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

Lo resolví degradando mis versiones de node y npm , parece que el problema está en npm 7 .

 Angular CLI: 12.1.1 Node: 14.16.1 Package Manager: npm 6.14.12
over 4 years ago · Santiago Trujillo Report

0

Resuelto

La versión 7 de npm tiene algunos problemas. He degradado la versión npm a 6. Ahora se está ejecutando.

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!