Closed eschaefer closed 3 years ago
What's your version of npx
?
Same issue, using zsh and npx v7.5.2.
@typicode my npx
is at version 6.14.8
Using 7.5.3 here and npm
rather than yarn
.
I use zsh and did not have this issue for reference.
Tried today with npm v7.5.4 and npm exec -- github:typicode/husky-4-to-5 --package-manager npm
. Seems to work.
Forgot to mention I'm using macOS Big Sur - maybe macOS is an issue here?
Using Big Sur + zsh with no issue. Not denying you have an issue, just tryna help isolate the real problem.
I had issues with npx ...
command but it worked with npm exec -- github:typicode/husky-4-to-5
(npm v7.6.0).
Might be worth giving another try.
Alternatively, if you don't have a lot of repos and/or hooks, you could move your previous config manually. A new command husky init
have also been introduced to simplify setup.
Using OS X Catalina...