-
Notifications
You must be signed in to change notification settings - Fork 27
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]: Can't install blocks-react-renderer package if husky isn't installed #40
Comments
I faced this issue yesterday, try to do these: |
Yes, I've included that information in my report although the step for installing the husky globally isn't necessary, it's enough to install the husky as a dev dep. |
my build on server just fails due to this:
|
Hi all, any update on this? I'm experiencing the same problem. Would prefer to not to need to install husky. |
This project is using pinst which updates the package.json to In the package.json it is renamed properly, but
This might've been a bug in npm, so a republish on the latest npm version may fix it |
I encountered this problem on version 20 of node, switched to 16 and everything installed without problems |
|
DId you get any fix for this? I face the same build error in vercel. I use node 20 |
What version of
@strapi/blocks-react-renderer
are you using?What's Wrong?
Once I do
npm install @strapi/blocks-react-renderer react react-dom
command inside FE project that doesn't have husky installed as a dependency I get the following error:If I do
npm install husky --save-dev
and runnpm install @strapi/blocks-react-renderer react react-dom
command again everything is installed correctly.To Reproduce
Create a new project with vite:
npm create vite@latest demo-project --template react-ts
Navigate to the project directory:
cd demo-project
Run npm install:
npm install
Try to install
@strapi/blocks-react-renderer
:npm install @strapi/blocks-react-renderer react react-dom
Expected Behaviour
@strapi/blocks-react-renderer
should be installed without having husky as a dev dependencyThe text was updated successfully, but these errors were encountered: