mhmiton / laravel-modules-livewire

Using Laravel Livewire in Laravel Modules package with automatically registered livewire components for every modules.
MIT License
187 stars 34 forks source link

Composer Error #4

Closed windsondias closed 3 years ago

windsondias commented 3 years ago

Hello @mhmiton!

Would you help me? When I try to install the package I get the following error:

"Could not find a version of package mhmiton/laravel-modules-livewire matching your minimum-stability (dev). Require it with an explicit version constraint allowing its desired stability."

I don't have much knowledge in composing. All the solutions I found on the web did not solve.

I tried to run:

composer require mhmiton/laravel-modules-livewire composer require mhmiton/laravel-modules-livewire:dev-master

"mhmiton/laravel-modules-livewire": "dev-master" composer update

If you can help me thank you in advance!!

mhmiton commented 3 years ago

Which version of Laravel do you use?

windsondias commented 3 years ago

Laravel Framework 8.15.0 Laravel Modules ^8.2

mhmiton commented 3 years ago

I re-checked. Also, it's working on my end. You can remove the "composer.lock" file before package installing and try to install by this command

composer require mhmiton/laravel-modules-livewire dev-master

windsondias commented 3 years ago

image

I removed composer.lock and ran the command, returned the print error. If it's working for you it's probably something in my environment.

mhmiton commented 3 years ago

When are you installing other packages, this return the same error?

windsondias commented 3 years ago

No, they work normally. In that same project I just installed fortify and had no problems, I have other projects with other packages and installed without problems too.

mhmiton commented 3 years ago

Oh, it's also hard to solve this issue in this way. Can we add with discord? This is my discord id - mhmiton#8254. Please add me. If you feel free, I will try to solve this issue on your PC.