frontsideair / yarnhook

Run `yarn install`, `npm install` or `pnpm install` on git hooks automatically
MIT License
217 stars 17 forks source link

yarnhook: command not found error #46

Closed aki77 closed 4 years ago

aki77 commented 4 years ago

I get an yarnhook: command not found error when I try to git checkout on v0.4.4. The following item seem to be missing from package.json in v0.4.4.

https://github.com/frontsideair/yarnhook/blob/v0.4.3/package.json#L4

esetnik commented 4 years ago

I have the same issue since upgrading to v0.4.4

frontsideair commented 4 years ago

Yup, just noticed it and a fix is coming right now. Sorry for inconvenience!

frontsideair commented 4 years ago

A new version is published and the issue is closed, but feel free to reopen if it isn't fixed yet.

The problem was caused when I was moving towards a monorepo setup and and accidentally forgot to add the bin field in package.json. 😞

aki77 commented 4 years ago

Thanks!