Installing summernote fails if husky isn't installed
See original GitHub issueDescription 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
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:16 (9 by maintainers)
Top Results From Across the Web
sh: husky: command not found - node.js - Stack Overflow
Run npm i ( npm install ). Dependencies installed successfuly. Add again the "prepare" script that you removed in step 1. Run again...
Read more >A brand new website interface for an even better experience!
Installing summernote fails if husky isn't installed.
Read more >summernote - npm
Start using summernote in your project by running `npm i summernote`. There are 116 other projects in the npm registry using summernote.
Read more >summernote | Yarn - Package Manager
Summernote is a JavaScript library that helps you create WYSIWYG editors online. Home page: https://summernote.org. Why Summernote? Summernote has a few ...
Read more >npm - Snyk
... bower-dependency-tree · bower-files · bower-installer · bower-npm-install · bower-resolve-webpack-plugin · bower-update · bowser · box-office-mojo-movie ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@DiemenDesign @lqez @hackerwins
we should delete
husky install
command .because it is development mode only. postinstall is run after
npm install
for other dependecies.If you know how to fix it, you are welcome to do a PR to fix it. So far from my tests, I don’t have the issue that’s been reported, most likely due to using Summernote differently, otherwise, I would do a PR.