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

Unable to install #11

Closed
sebastian-zarzycki-apzumi opened this issue Jul 8, 2016 · 8 comments
Closed

Unable to install #11

sebastian-zarzycki-apzumi opened this issue Jul 8, 2016 · 8 comments

Comments

@sebastian-zarzycki-apzumi

composer complains with:

Problem 1
    - Conclusion: don't install santigarcor/laratrust 2.0.2
    - Conclusion: don't install santigarcor/laratrust 2.0.1
    - Conclusion: remove nikic/php-parser v2.1.0
    - Installation request for santigarcor/laratrust 2.0.* -> satisfiable by santigarcor/laratrust[2.0.0, 2.0.1, 2.0.2].
    - Conclusion: don't install nikic/php-parser v2.1.0
    - santigarcor/laratrust 2.0.0 requires kkszymanowski/traitor ^0.2.0 -> satisfiable by kkszymanowski/traitor[0.2.0, 0.2.1].
    - kkszymanowski/traitor 0.2.0 requires nikic/php-parser ^1.0 -> satisfiable by nikic/php-parser[v1.0.0, v1.0.1, v1.0.2, v1.1.0, v1.2.0, v1.2.1, v1.2.2, v1.3.0, v1.4.0, v1.4.1].
    - kkszymanowski/traitor 0.2.1 requires nikic/php-parser ^1.0 -> satisfiable by nikic/php-parser[v1.0.0, v1.0.1, v1.0.2, v1.1.0, v1.2.0, v1.2.1, v1.2.2, v1.3.0, v1.4.0, v1.4.1].
    - Can only install one of: nikic/php-parser[v1.2.1, v2.1.0].
    - Can only install one of: nikic/php-parser[v1.2.2, v2.1.0].
    - Can only install one of: nikic/php-parser[v1.3.0, v2.1.0].
    - Can only install one of: nikic/php-parser[v1.4.0, v2.1.0].
    - Can only install one of: nikic/php-parser[v1.4.1, v2.1.0].
    - Can only install one of: nikic/php-parser[v1.0.0, v2.1.0].
    - Can only install one of: nikic/php-parser[v1.0.1, v2.1.0].
    - Can only install one of: nikic/php-parser[v1.0.2, v2.1.0].
    - Can only install one of: nikic/php-parser[v1.1.0, v2.1.0].
    - Can only install one of: nikic/php-parser[v1.2.0, v2.1.0].
    - Installation request for nikic/php-parser (locked at v2.1.0) -> satisfiable by nikic/php-parser[v2.1.0].
@santigarcor
Copy link
Owner

santigarcor commented Jul 8, 2016

I think the problem is on the Traitor package.

It requires a version of nikic/php-parser but it seems like another package requires a new version of the same package

@sebastian-zarzycki-apzumi
Copy link
Author

sebastian-zarzycki-apzumi commented Jul 8, 2016

So, what now? I've notified the Traitor's author (as you apparently did as well), but couldn't you drop the requirement for now? AFAIK it's just used for a single optional artisan command to add trait to User model.

@santigarcor
Copy link
Owner

santigarcor commented Jul 8, 2016

@sebastian-zarzycki-es Give me five minutes i'm working on a version that doesn't use traitor

@sebastian-zarzycki-apzumi
Copy link
Author

Superb, thanks!

@santigarcor
Copy link
Owner

santigarcor commented Jul 8, 2016

@sebastian-zarzycki-es done, you can install and use the package again without problems.

Note:

You won't be able to do the part where the trait is inserted into the user model, so you'll have to do it manually.

@KKSzymanowski
Copy link
Collaborator

I fixed this conflict with KKSzymanowski/Traitor@71ad561 and release 0.2.2. @sebastian-zarzycki-es I hope it will work for you.

@sebastian-zarzycki-apzumi
Copy link
Author

Great stuff. I was able to install the Trait-less version on Friday. I don't need the automatic trait insertion into my models, so I was fine. Running composer update today also went fine.

@santigarcor
Copy link
Owner

@sebastian-zarzycki-es Thank you :D , i jus re-added the Trait version in the 2.0.5 release

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