-
System: Windows 10 I used this template as the base for a library I published to npm recently. Everything seemed to be okay until I attempted to install the published the npm package into a blank project. I received an error caused by Husky upon attempting to install the package, as follows:
In my package.json, I blanked the scripts I'm not too familiar with what exactly husky is supposed to be doing here. Any suggestions for a fix besides the above workaround? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Hi @joejordan, this is a known issue with Husky and the latest Yarn. It's explained in the docs:
You do want to keep the |
Beta Was this translation helpful? Give feedback.
-
Update: this template no longer uses Husky and Conventional Commits, so the |
Beta Was this translation helpful? Give feedback.
-
Hi @PaulRBerg, what are the main reasons you removed Husky, commitlint, and lint staged from this template and across all your templates? |
Beta Was this translation helpful? Give feedback.
Update: this template no longer uses Husky and Conventional Commits, so the
postinstall
trick withpinst
is no longer necessary.be349da