If yarn check finds a mismatch, how do I get yarn install to fix it?
Background: I have yarn.lock and package.json; when I install a new package, it works locally, but then when I install another NODE_MODULES object, yarn install does not seem to notice that a new dependency needs to be added, but yarn check sees it.
In fact, I read that yarn install performs the same check as yarn check --integrity , and a later command does not see a discrepancy (i.e., it performs functions exactly like yarn install ). The question is how to get yarn install to perform the same check as yarn check , or else get yarn install to notice that yarn check (or was) found.
source share