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

126
Views
Yarn: error `install` has been replaced with `add` but it won't run add command either

I'm on Ubuntu. Rails 6 project. I'm trying to add new packages to my project but it won't accept the yarn install nor yarn add commands.

I tried adding flatpìckr using yarn install flatpickr and it prompted me to use the add command instead

yarn install flatpickr
yarn install v1.22.17
error `install` has been replaced with `add` to add new dependencies. Run "yarn add flatpickr" instead.

However, I get the same message when running the add command:

yarn add flatpickr
yarn install v1.22.17
error `install` has been replaced with `add` to add new dependencies. Run "yarn add flatpickr" instead.

I'm running the latest version of Yarn and I can succesfully run commands like yarn install --checkfiles, I just can't seem to add new ones.

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!