tonydspaniard / yiinitializr-basic

Yii Framework project structure boilerplate for basic requirements
26 stars 16 forks source link

Requirements Conflict #11

Closed kimiamania closed 11 years ago

kimiamania commented 11 years ago

This is what I do on my terminal

21:22:00 rezha@kimiamania:~/htdocs$ git clone https://github.com/tonydspaniard/yiinitializr-basic.git
Cloning into 'yiinitializr-basic'...
remote: Counting objects: 220, done.
remote: Compressing objects: 100% (124/124), done.
remote: Total 220 (delta 89), reused 206 (delta 77)
Receiving objects: 100% (220/220), 484.86 KiB | 440 KiB/s, done.
Resolving deltas: 100% (89/89), done.

At this point I am editing the config file using my text editor

21:31:09 rezha@kimiamania:~/htdocs/yiinitializr-basic$ php composer.phar self-update
Updating to version 1f2d331fd341897c9d54414a76b909beba9e3a59.
    Downloading: 100%

21:31:13 rezha@kimiamania:~/htdocs/yiinitializr-basic$ php composer.phar install

Yiinitialzr 1.0.1

* download packages specified in composer.json
* configures your runtime folders
* triggers composer callbacks (yiic commands)

Start Installation? [y/n]: y
Loading composer repositories with package information
Installing dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - 2amigos/yiiwheels dev-master requires 2amigos/yiistrap 1.0.1 -> satisfiable by 2amigos/yiistrap[1.0.1].
    - 2amigos/yiiwheels dev-master requires 2amigos/yiistrap 1.0.1 -> satisfiable by 2amigos/yiistrap[1.0.1].
    - Can only install one of: 2amigos/yiistrap[dev-master, 1.0.1].
    - Installation request for 2amigos/yiistrap dev-master -> satisfiable by 2amigos/yiistrap[dev-master].
    - Installation request for 2amigos/yiiwheels dev-master -> satisfiable by 2amigos/yiiwheels[dev-master].

I delete yiinitializr-basic folder and clone it again for the second time, this time I didn't do anything to the config file, just php composer self-update and php composer.phar install but the result are same

Borales commented 11 years ago

@kimiamania try to change your composer.json file like the following:

    "2amigos/yiiwheels":"1.0.2",
    "2amigos/yiistrap":"1.0.1",
kimiamania commented 11 years ago

@Borales thanks, it works now I use "2amigos/yiiwheels":"1.0.3"