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

Problems installing 3.x.x #5612

Open
1537592846 opened this issue Jun 20, 2024 Discussed in #5605 · 5 comments
Open

Problems installing 3.x.x #5612

1537592846 opened this issue Jun 20, 2024 Discussed in #5605 · 5 comments

Comments

@1537592846
Copy link

Discussed in #5605

Originally posted by 1537592846 June 12, 2024
While before it worked without issues, lately, when trying to install admin-lte on version 3.2.0, an error states that I do not have husky installed, which I really don't. This error is preceded by some information of summernote, which we recently stopped using. I've tried creating a new project (Angular 17.3.8) and just adding "admin-lte":"3.2.0" to the package.json, and it did not install, showing the same problem. Any ideas of what it could be? Installing summernote and husky is not inconceivable, but it is not preferable if possible.

How to recreate the problem

  1. Install Angular (npm install -g @angular/cli@17)
  2. Create a new project (ng new my-app)
  3. Add on the package.json the use of admin-lte ("admin-lte":"3.2.0")
  4. Install dependencies (npm install)
@advantobcn
Copy link

Hi,
I've have the same problem installing in laravel 10.x
I've tried v3.1 and v3.2 and the issue happens in the two versions.

2024-06-21T09_52_57_048Z-debug-0.log

@caesarali
Copy link

Any solution for this? I have same issues, and its because summernote package

@sven-ahrens
Copy link

Yup same, same.

Command I've been using:

npm install admin-lte@^3.2 --save

Setup:

  • Laravel 11
  • Node 20
  • mac m1

Bildschirmfoto 2024-09-02 um 09 39 14

@sondr
Copy link

sondr commented Oct 1, 2024

Encountered this today as well.
A quick fix is to add husky to devDependencies:

"husky": "^9.0.0",

but not optimal.

@sact1909
Copy link

@sondr @sven-ahrens I solved this problem installing husky as you did, but isn't this still a problem? because why we have to install this just to install AdminLTE, something specific with this package? I read the doc about this package and is something to work with commits, don't know why is needed...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants