Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug]: Exclude husky from postinstall #66

Closed
monolithed opened this issue Mar 19, 2025 · 1 comment
Closed

[bug]: Exclude husky from postinstall #66

monolithed opened this issue Mar 19, 2025 · 1 comment
Labels
issue: bug Issue reporting a bug

Comments

@monolithed
Copy link

What version of @strapi/blocks-react-renderer are you using?

All versions

What's Wrong?

npm error code 127
npm error path /node_modules/@strapi/blocks-react-renderer
npm error command failed
npm error command sh -c husky install
npm error sh: husky: command not found

To Reproduce

npm i

Expected Behaviour

No errors

@monolithed monolithed added the issue: bug Issue reporting a bug label Mar 19, 2025
@npenza
Copy link

npenza commented Mar 22, 2025

To fix:
1- Open your terminal and run: npm install -g husky
2- Navigate to your project directory and run: npm install husky --save-dev
3- try again to install the command: npm install @strapi/blocks-react-renderer

See older issue: #40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue: bug Issue reporting a bug
Projects
None yet
Development

No branches or pull requests

2 participants