-
-
Notifications
You must be signed in to change notification settings - Fork 298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Husky prepare script breaking np #742
Comments
As a workaround i just removed |
You can fix it by doing: "prepare": "husky install > /dev/null", And if you update to version 9 of |
@voxpelli love the idea with output, but it's not crossplatform. |
I had a similar issue when migrating from an old project that had:
in its |
Description
When husky installed and in
package.json
prepare: husky install
script exists np crashes withThis is what is happening in stdout when running np
Expected behavior
Should just work
Environment
np - 9.2.0
Node.js - 21.7.1
npm - 10.5.0
Git - 2.42
OS - nixos 23.10 (unstable branch)
The text was updated successfully, but these errors were encountered: