-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Description
i am working on a project of laravel 11, and when installing encore/laravel-admin, i got this error, is there any solution please?
$ composer require encore/laravel-admin
./composer.json has been updated
Running composer update encore/laravel-admin
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires encore/laravel-admin *, found encore/laravel-admin[v1.1.6, ..., v1.8.19] but these were not loaded, because they are affected by security advisories. To ignore the advisories, add ("PKSA-fwvh-pm3c-1m7b") to the audit "ignore" config. To turn the feature off entirely, you can set "block-insecure" to false in your "audit" config.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require encore/laravel-admin:*" to figure out if any version is installable, or "composer require encore/laravel-admin:^2.1" if you know which you need.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.