Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

112
Visualizações
npm install WARNs

I've tried updating npm after I did some WARNings, so I went

npm audit fix 

received way more WARNs. Now when i tried installing all dependencies with

npm i 

I got tons of WARN (see below). I honestly haven't got a clue what any of these mean, but did not have any before the npm fix.

enter image description here

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

Looks like you're using deprecated packages. Try running

npm outdated

it will show you the current version, desired version, and latest version for each of your package. That won't actually do anything to your project, but it's a good first indication.

If you run

npm update

it will update each package according to what your package.json says. For instance if you see this in your package.json

"my-package": "~1.25.0"

it means that npm update will update to (or that npm install will install) version 1.25.0 or the latest patch version such as 1.25.4.

If you see

"my-package": "^1.25.0"

it means that npm update will update to (or that npm install will install) version 1.25.0 or the latest minor or patch version such as 1.26.2.

However, npm update will not update your packages to new major versions. That means that "my-package" will not be update to 2.0.0 for instance.

I think using old version of packages can cause those kinds of warnings.
In that case, just reinstall the package to the latest version

npm uninstall my-package
npm i my-package

⚠️ But be careful as updating a package to a new major version could break your code!

My advice is to do it step by step and make sure you can always roll back in case there's a problem you don't understand!

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda