cd "Library/Caches/Yarn/v1/.tmp/05ed5008bcb53e627e45ebc9b505a305.72b166a921bc8f83926da736ee9fef7a69a34d71.prepare"
A bizarre hard-coded path. I only noticed this because for some reason that path is gone now, so it was failing.
(mkdir tmp && cd tmp && git init && mkdir tmp2 && cd tmp2 && ls ../.git/hooks && echo '{"devDependencies": {"husky": "1.1.4"}}' > package.json && npm i && ls ../.git/hooks)