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

installation failing #6

Open
iteearmah opened this issue Nov 8, 2017 · 2 comments
Open

installation failing #6

iteearmah opened this issue Nov 8, 2017 · 2 comments

Comments

@iteearmah
Copy link

composer require drewjbartlett/wordpress-eloquent
Using version ^0.2.1 for drewjbartlett/wordpress-eloquent
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Installation request for drewjbartlett/wordpress-eloquent ^0.2.1 -> satisfiable by drewjbartlett/wordpress-eloquent[v0
.2.1].
- Conclusion: remove laravel/framework v5.5.20
- Conclusion: don't install laravel/framework v5.5.20

- drewjbartlett/wordpress-eloquent v0.2.1 requires illuminate/database 5.4.* -> satisfiable by illuminate/database[v5.4.

0, v5.4.13, v5.4.17, v5.4.19, v5.4.27, v5.4.36, v5.4.9].
- don't install illuminate/database v5.4.0|don't install laravel/framework v5.5.20
- don't install illuminate/database v5.4.13|don't install laravel/framework v5.5.20
- don't install illuminate/database v5.4.17|don't install laravel/framework v5.5.20
- don't install illuminate/database v5.4.19|don't install laravel/framework v5.5.20
- don't install illuminate/database v5.4.27|don't install laravel/framework v5.5.20
- don't install illuminate/database v5.4.36|don't install laravel/framework v5.5.20
- don't install illuminate/database v5.4.9|don't install laravel/framework v5.5.20
- Installation request for laravel/framework (locked at v5.5.20, required as 5.5.*) -> satisfiable by laravel/framework[
v5.5.20].

@BackFront
Copy link

@iteearmah , You need install Laravel framework in your environment.
Try: Installing Laravel

or you need require laravel/framework

run the follow command in your composer directory

composer require laravel/framework

@hottehead
Copy link

Just had the same issue at another point. In your case laravel and wordpress-eloquent have conflicting dependencies regarding illuminate/database. Laravel wants it to be ^5.5 and wordpress-eloquent wants it to be 5.4 at most. You either downgrade laravel to (probably) 5.4 or this package needs to upgrade its requirements to 5.5 for illuminate/database. I just tried doing that in a fork but I didnt test it so far. See https://github.com/hottehead/wordpress-eloquent

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

3 participants