Closed Virakal closed 3 months ago
Just tested - 9.0.8 works for me but 9.0.9 does not.
I'm not sure why it's not finding it. Are you trying to import husky/bin.mjs?
I'm just running yarn husky
from Zsh. I've tried it with Yarn 1.x and Yarn 4.x with the node_modules linker enabled and it works fine so perhaps this is a Yarn bug rather than something on Husky's side?
It seems so. Thanks for the update :)
After upgrading from 9.0.6 to 9.0.10 I'm getting the following error when running
yarn husky
:I'm using Yarn 4.1.0 on WSL 2, using Zsh. Reverting to 9.0.6 means I can run the setup again. I've tried clearing the Yarn cache but nothing improves. I've tried it on Node 18 and 20.