ruls icon indicating copy to clipboard operation
ruls copied to clipboard

Install error: 'husky: command not found'

Open ihoskovecpetr opened this issue 1 year ago • 2 comments

Hi, thank you for your great work. I have just attempted to install this library (version 1.0.4 and newer) and got following error:

error /.../node_modules/ruls: Command failed.
Exit code: 127
Command: husky install
Arguments: 
Directory: /.../node_modules/ruls
Output:
/bin/sh: husky: command not found
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command. 

Seem there is problem with postinstal hook "postinstall": "husky install", which should not run in production but runs. By removing this hook, everything works as intended.

Thank you in advance for fixing this issue.

ihoskovecpetr avatar Jul 17 '23 11:07 ihoskovecpetr