|
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? |
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 |
|
Update: this template no longer uses Husky and Conventional Commits, so the |
|
Hi @PaulRBerg, what are the main reasons you removed Husky, commitlint, and lint staged from this template and across all your templates? |
Update: this template no longer uses Husky and Conventional Commits, so the
postinstalltrick withpinstis no longer necessary.be349da