summernote: Installing summernote fails if husky isn't installed
Description of your Issue or Request:
npm install is broken since version 0.8.19. The postinstall-script runs sh -c husky install
which fails if husky isn’t installed:
npm ERR! command failed
npm ERR! command sh -c husky install
npm ERR! sh: 1: husky: not found
steps to reproduce (Add more if necessary):
- Use a system without husky installed
- Run
npm i summernote
What is your Operating System, Browser and Version and Summernote Version you are using:
This can help find and resolve any issues, place an x inside the brackets or if relevant elaborate after each choice.
- Operating System: [ ] Microsoft Windows [ ] Apple [x] Linux [ ] All
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 1
- Comments: 16 (9 by maintainers)
@DiemenDesign @lqez @hackerwins
we should delete
husky install
command .because it is development mode only. postinstall is run after
npm install
for other dependecies.