This is a minor issue and is only related to module resolution.
Except if your syncing yarn.lock and package-lock.json, one of them is outdated. It cannot be used to generate a safe environment and is a little bit messy.
So you can sync them using synp or just remove and ignore one (I suggest package-lock.json).