sh: husky: command not found
See original GitHub issueI got postinstall issue with husky with the newest version. I guess it should be npx husky install
?
Issue Analytics
- State:
- Created 3 years ago
- Comments:9
Top Results From Across the Web
sh: husky: command not found - node.js - Stack Overflow
Temporarily remove the "prepare": "husky install" script from the package.json file. Run npm i ( npm install ). Dependencies installed ...
Read more >sh: husky: command not found · Issue #945 - GitHub
Context I've setup a node project with husky but when my collegue tries to run npm install on his Mac he gets the...
Read more >husky: command not found with npm install --production
Recently, while attempting to build a Docker container, I ran into a bit of a dilemma. Upon running npm install --production I was...
Read more >Husky - Git hooks
Command not found ... If you're running Git from an app and the command can be found in your terminal, this means that...
Read more >husky - npm
Start using husky in your project by running `npm i husky`. There are 2595 other projects in the npm registry using husky.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@MoOx - I did not (yet) - we already use that hook but I wanted to read up on it more. Thanks for the positive confirmation that it works well for you. I didn’t want to leave the busted version out there for one second longer than necessary though so queued the “real fix” behind the “get it working immediately” fix 😃
@mikehardy did you try to use
prepare
instead ofpostinstall
? that’s what I am using on all my projects.