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

431
Vistas
npm WARN deprecated core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues

I'm getting below error while creating a new Angular application -

npm WARN deprecated core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.

I tried the solution given in below link but it did not work for me- Error: Please, upgrade your dependencies to the actual version of core-js@3

When I check version of Angular using 'ng --version' command, I see <error> as version for below listed packages -

@angular-devkit/architect    
@angular-devkit/core         
@angular-devkit/schematics   
@schematics/angular          
@schematics/update   

Could you please suggest what went wrong and what needs to be done to fix this?

P.S. - The same functionality was working fine a day before. And the already created projects are running fine locally.

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

0

You should update the version of core-js to version above 3. npm install --save core-js@^3

You may also update the outdated packages using npm update [-g] [<pkg>...]

over 4 years ago · Santiago Trujillo Denunciar

0

So the issue is of version of the packages you have in your project.

Run command npm outdated inside your project directory. And see the difference between the Current And Wanted version of packages.

And then upgrade all package to match wanted version.

over 4 years ago · Santiago Trujillo Denunciar

0

It's a npm cache problem. Go to the path:

  • Windows: %AppData%/npm-cache
  • Linux/OSX: ~/.npm

and delete its content. Then open your console in administrator mode and execute the npm install command again

over 4 years ago · Santiago Trujillo Denunciar

0

Indeed the issue was with cache. npm clean-install worked.

over 4 years ago · Santiago Trujillo Denunciar

0

Try:

npm cache clean --force
npm install -g @angular/cli@latest
over 4 years ago · Santiago Trujillo Denunciar

0

I observed this warning message within a Vaadin project with Vaadin 14.1.3 after switching from dependency com.vaadin.vaadin to com.vaadin.vaadin-core. The warning was gone after these steps:

  1. delete package-lock.json
  2. execute mvn clean
  3. execute mvn update
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