Recently, when I compile my scss files I get an error. The error message says:
Browserslist: caniuse-lite is outdated. Please run next command
n
Many advise you to remove the package-lock.json or the yarn.lock. This is clearly a bad idea!
I am using Yarn and I was able to correct this problem by removing only the caniuse-db and caniuse-lite entries in my yarn.lock and doing a yarn.
It is not necessary to break the main function of the lockfile by deleting it.