Open numfin opened 7 months ago
As a workaround i just removed prepare
You can fix it by doing:
"prepare": "husky install > /dev/null",
And if you update to version 9 of husky
I also think this issue will go away
@voxpelli love the idea with output, but it's not crossplatform. Seems like husky made something with debug output in v9. I'll check later if it really fixes the issue
I had a similar issue when migrating from an old project that had:
HUSKY=0 np
in its release
script. After migrating to Husky v9, and using husky
instead of husky install
, I could also remove the HUSKY=0
part and releasing worked fine.
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)