I get unmet peer dependency warnings when running yarn, but only sometimes.
I want a command to reliably check unmet peer dependencies. I had hoped yarn check would do this, but it seems not.
How can this be done? I currently delete node_modules/ and then do a yarn install. Better way?
I do the same :D
I currently run yarn upgrade, seems to be faster than yarn install. This works well in combination with yarn outdated to easily assert my packages are up to date and not missing any dependencies.
@Hoten I think one easier workaround is to change the version of a single package in package.json, e.g., change Bootstrap from 3.3.5 to 3.3.7 and then run yarn. This should cause Yarn to link dependencies and display incorrect and unmet peer dependencies. Then just revert the version and run yarn again.
Here are my two workarounds:
yarn install --check-filesrm node_modules/.yarn-integrity && yarnBoth reinstall all packages and trigger postinstall
Most helpful comment
Here are my two workarounds:
yarn install --check-filesrm node_modules/.yarn-integrity && yarnBoth reinstall all packages and trigger postinstall