tonydspaniard / yiinitializr-advanced

Yii Framework project structure boilerplate for advanced application requirements
67 stars 30 forks source link

I can not install. What proplem. #20

Open DenisOgr opened 10 years ago

DenisOgr commented 10 years ago
  1. I clone repos.
  2. Change file common/config/env/dev.php . Insert in im myself database settings
  3. denis@denis-linux:/home/www-data/www/yiin1$ php composer.phar self-update PHP Warning: Module 'memcache' already loaded in Unknown on line 0 Updating to version a2a70380c14a20b3f611d849eae7342f2e35c763. Downloading: 100%

4.denis@denis-linux:/home/www-data/www/yiin1$ php composer.phar install PHP Warning: Module 'memcache' already loaded in Unknown on line 0

Yiinitialzr 1.0.1

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.1.1 -> satisfiable by 2amigos/yiistrap[1.1.1].
  • 2amigos/yiiwheels dev-master requires 2amigos/yiistrap 1.1.1 -> satisfiable by 2amigos/yiistrap[1.1.1].
  • Can only install one of: 2amigos/yiistrap[dev-master, 1.1.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].

How to fix it? Why it hot work "from box"? Thx

Avtonom commented 10 years ago

+1

Borales commented 10 years ago

@DenisOgr @Avtonom I think you should delete 2amigos/yiistrap line from your composer.json file and set 2amigos/yiiwheels to dev-master like so:

{
    ...
    "require": {
        "2amigos/yiiwheels": "dev-master",
        ...
    },
    ...
}

Satisfiable "2amigos/yiistrap" package will be downloaded automatically by composer.