-
-
Notifications
You must be signed in to change notification settings - Fork 303
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
Dependencies fail to install for Yii 2.0.0 stable install #97
Comments
These extensions will undergo a bit more change as enhancements are planned. Hence a stable release is not yet set for these. This will eventually happen not very late from now... since the stable version of yii has been released. Would suggest to carefully set the minimum stability - because this will be set across all extensions you use. If doing this, you should set the versions of various dependencies/extensions carefully using the |
As it turns out keeping 'stable' is recommended as per this article https://igor.io/2013/02/07/composer-stability-flags.html so to use yii2 and its dependencies as stable and yours as dev here is what I did
...} This works perfectly and it does not pull in dev versions of the main framework and its dependencies Excellent extensions BTW Keep up the good work |
Great you got this resolved. I will put up a wiki for this once I get time for benefit of others. |
I created a web tip / wiki for this for the benefit of others. |
Hey Nice work I’m sure this will help many devs that are just getting a handle on composer dependencies Thanks again
|
I have been struggling with this all day ;(
As Yii is now at 2.0.0 stable I don't really want to go the minimum-stability:"dev" route.
I have a virgin "basic" install with a couple of models and no other extensions
Following the installation instructions throws a slew of problems like
Your requirements could not be resolved to an installable set of packages.
Problem 1
- kartik-v/yii2-popover-x v1.0.0 requires kartik-v/bootstrap-popover-x * -> no matching package found.
- kartik-v/yii2-editable dev-master requires kartik-v/yii2-popover-x * -> satisfiable by kartik-v/yii2-popover-x[v1.0.0].
- Installation request for kartik-v/yii2-editable dev-master -> satisfiable by kartik-v/yii2-editable[dev-master].
Potential causes:
see https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion for more details.
Read http://getcomposer.org/doc/articles/troubleshooting.md for further common problems.
Got most dependencies to install separately via adding the to composer.json ala
"require": { ...
"kartik-v/yii2-widgets": "dev-master",
"kartik-v/yii2-money": "dev-master",
"kartik-v/yii2-slider": "dev-master",
"kartik-v/yii2-checkbox-x": "dev-master",
"kartik-v/yii2-editable": "dev-master",
"kartik-v/yii2-popover-x": "dev-master",
"kartik-v/yii2-grid": "dev-master"
}
popover-x will not install at all even via this method
What else can I try?
The text was updated successfully, but these errors were encountered: