I have a Rails application, and Dependabot says:

Dependabot suggestion

When I modify the yarn.lock file as per that suggestion, and try to run rails s, I get this:

warning Integrity check: Lock files don't match
error Integrity check failed
error Found 1 errors.

========================================
  Your Yarn packages are out of date!
  Please run `yarn install --check-files` to update.
========================================

When I run yarn install --check-files, my modification is overwritten with the original old offending version.

What should I do?

0

There are 0 answers