Composer: requires laravel/nova ^2.0|^3.0 -> no matching package found

Kuncoro Wicaksono
1 min readJun 10, 2020
Photo by Nicolas Picard on Unsplash

Maybe you found any error composer update when you want to install some package related to laravel nova. Here the description :

Problem 1
- Installation request for bolechen/nova-activitylog ^0.2.1 -> satisfiable by bolechen/nova-activitylog[v0.2.1].
- bolechen/nova-activitylog v0.2.1 requires laravel/nova ^2.0|^3.0 -> no matching package found.
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
- It's a private package and you forgot to add a custom repository to find it

For fix this issue, you need to be sure that your composer itself is updated to the latest version:

composer self-update

If you already update to the latest version, but you still facing this issue. Go to your Nova root directory, and open composer.json inside that folder.

--yourapp--
/Nova
composer.json

Add version like below:

"name": "laravel/nova",
"version": "2.0",

Try to install your package again, or do :

composer update

--

--