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

136
Views
what is 'npm un dev' as i accidently run in my terminal?

I accidently run a command in my Mern project that ' npm un dev' instead of 'npm run dev' and it delete some packages and i don't know how to recover these packages.

about 4 years ago · Juan Pablo Isaza
3 answers
Answer question

0

See npm uninstall:

aliases: remove, rm, r, un, unlink
                        __

npm install should put everything back, assuming package.json wasn't modified.

about 4 years ago · Juan Pablo Isaza Report

0

The list of packages that you deleted is still contained in the package.json file. This file is located in node_modules folder. To fix your issue, just execute the command:

npm install

or the shorter equivalent:

npm i

And those packages will be restored.

More details -> https://docs.npmjs.com/cli/v8/commands/npm-install

about 4 years ago · Juan Pablo Isaza Report

0

run npm i interminal, this will install all packages which are listed in package.json

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