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

342
Views
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
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!