You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A less annoying way to deal with this is to only remove and add install-peers again. That will trigger its postinstall script and will add the missing peerDeps. But it's still far from ideal.
In the following situations,
install-peers
is not called and yarn is removing the peer dependencies fromnode_modules/
:yarn add PACKAGE_NAME
yarn
oryarn install
It is really annoying and the only fix I found for now is to run
rm -rf node_modules/ && yarn
which clears everything and installs from scratch.I am on NodeJS 18 with yarn v1.22
The text was updated successfully, but these errors were encountered: