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

343
Visualizações
How to uninstall dev dependencies?

I'm working on a project that depends on react-native-gifted-chat. I want to customize react-native-gifted-chat so I clone it. I do the change. I runnpm i; npm run build. I use watchman to copy the files to my project's node_modules. I run my project, and I get an error about react versions not matching. I understand that react was installed in the react-native-gifted-chat clone. My thing is.. how do I uninstall it? I understand that react is in the devDependencies of react-native-gifted-chat, and I don't need it after doing the build. npm prune --production doesn't remove the devDependencies. How to remove them?

I am not looking for an answer like "Just do npm uninstall react". I am looking to uninstall all devDependencies as I do not need them anymore.

EDIT: OR! Maybe I just don't understand the flow of editing an npm package to my needs?

about 4 years ago · Juan Pablo Isaza
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