BurdaMagazinOrg / thunder-project

GNU General Public License v2.0
27 stars 23 forks source link

Your requirements could not be resolved to an installable set of packages. #20

Open Synj24 opened 7 years ago

Synj24 commented 7 years ago

The issue

I'm having issues trying to create a project. When i run: composer create-project burdamagazinorg/thunder-project thunder I get this response:

Installing burdamagazinorg/thunder-project (8.2.0)
  - Installing burdamagazinorg/thunder-project (8.2.0): Downloading (connecting.
Downloading (100%)
Created project in thunder
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
    - drupal/console 1.0.0-alpha1 requires alchemy/zippy 0.3.5 -> satisfiable by
 alchemy/zippy[0.3.5].
    - drupal/console 1.0.0-alpha2 requires alchemy/zippy 0.3.5 -> satisfiable by
 alchemy/zippy[0.3.5].
    - drupal/console 1.0.0-beta1 requires alchemy/zippy 0.3.5 -> satisfiable by
alchemy/zippy[0.3.5].
    - drupal/console 1.0.0-beta2 requires alchemy/zippy 0.3.5 -> satisfiable by
alchemy/zippy[0.3.5].
    - drupal/console 1.0.0-beta3 requires alchemy/zippy 0.3.5 -> satisfiable by
alchemy/zippy[0.3.5].
    - drupal/console 1.0.0-beta4 requires alchemy/zippy 0.3.5 -> satisfiable by
alchemy/zippy[0.3.5].
    - drupal/console 1.0.0-beta5 requires alchemy/zippy 0.3.5 -> satisfiable by
alchemy/zippy[0.3.5].
    - drupal/console 1.0.0-rc1 requires alchemy/zippy 0.3.5 -> satisfiable by al
chemy/zippy[0.3.5].
    - drupal/console 1.0.0-rc10 requires alchemy/zippy 0.3.5 -> satisfiable by a
lchemy/zippy[0.3.5].
    - drupal/console 1.0.0-rc11 requires alchemy/zippy 0.3.5 -> satisfiable by a
lchemy/zippy[0.3.5].
    - drupal/console 1.0.0-rc12 requires alchemy/zippy 0.3.5 -> satisfiable by a
lchemy/zippy[0.3.5].
    - drupal/console 1.0.0-rc2 requires alchemy/zippy 0.3.5 -> satisfiable by al
chemy/zippy[0.3.5].
    - drupal/console 1.0.0-rc3 requires alchemy/zippy 0.3.5 -> satisfiable by al
chemy/zippy[0.3.5].
    - drupal/console 1.0.0-rc4 requires alchemy/zippy 0.3.5 -> satisfiable by al
chemy/zippy[0.3.5].
    - drupal/console 1.0.0-rc5 requires alchemy/zippy 0.3.5 -> satisfiable by al
chemy/zippy[0.3.5].
    - drupal/console 1.0.0-rc6 requires alchemy/zippy 0.3.5 -> satisfiable by al
chemy/zippy[0.3.5].
    - drupal/console 1.0.0-rc7 requires alchemy/zippy 0.3.5 -> satisfiable by al
chemy/zippy[0.3.5].
    - drupal/console 1.0.0-rc8 requires alchemy/zippy 0.3.5 -> satisfiable by al
chemy/zippy[0.3.5].
    - drupal/console 1.0.0-rc9 requires alchemy/zippy 0.3.5 -> satisfiable by al
chemy/zippy[0.3.5].
    - drupal/console 1.0.0 requires alchemy/zippy 0.4.3 -> satisfiable by alchem
y/zippy[0.4.3].
    - drupal/console 1.0.0-rc13 requires alchemy/zippy 0.4.3 -> satisfiable by a
lchemy/zippy[0.4.3].
    - drupal/console 1.0.0-rc14 requires alchemy/zippy 0.4.3 -> satisfiable by a
lchemy/zippy[0.4.3].
    - drupal/console 1.0.0-rc15 requires alchemy/zippy 0.4.3 -> satisfiable by a
lchemy/zippy[0.4.3].
    - drupal/console 1.0.0-rc16 requires alchemy/zippy 0.4.3 -> satisfiable by a
lchemy/zippy[0.4.3].
    - drupal/console 1.0.0-rc17 requires alchemy/zippy 0.4.3 -> satisfiable by a
lchemy/zippy[0.4.3].
    - drupal/console 1.0.0-rc18 requires alchemy/zippy 0.4.3 -> satisfiable by a
lchemy/zippy[0.4.3].
    - drupal/console 1.0.0-rc19 requires alchemy/zippy 0.4.3 -> satisfiable by a
lchemy/zippy[0.4.3].
    - drupal/console 1.0.0-rc20 requires alchemy/zippy 0.4.3 -> satisfiable by a
lchemy/zippy[0.4.3].
    - drupal/console 1.0.0-rc21 requires alchemy/zippy 0.4.3 -> satisfiable by a
lchemy/zippy[0.4.3].
    - drupal/console 1.0.0-rc22 requires alchemy/zippy 0.4.3 -> satisfiable by a
lchemy/zippy[0.4.3].
    - drupal/console 1.0.0-rc23 requires alchemy/zippy 0.4.3 -> satisfiable by a
lchemy/zippy[0.4.3].
    - drupal/console 1.0.0-rc24 requires alchemy/zippy 0.4.3 -> satisfiable by a
lchemy/zippy[0.4.3].
    - drupal/console 1.0.0-rc25 requires alchemy/zippy 0.4.3 -> satisfiable by a
lchemy/zippy[0.4.3].
    - drupal/console 1.0.0-rc26 requires alchemy/zippy 0.4.3 -> satisfiable by a
lchemy/zippy[0.4.3].
    - drupal/console 1.0.1 requires alchemy/zippy 0.4.3 -> satisfiable by alchem
y/zippy[0.4.3].
    - drupal/console 1.0.2 requires alchemy/zippy 0.4.3 -> satisfiable by alchem
y/zippy[0.4.3].
    - alchemy/zippy 0.3.5 requires ext-mbstring * -> the requested PHP extension
 mbstring is missing from your system.
    - alchemy/zippy 0.4.3 requires ext-mbstring * -> the requested PHP extension
 mbstring is missing from your system.
    - Installation request for drupal/console ~1.0 -> satisfiable by drupal/cons
ole[1.0.0, 1.0.0-alpha1, 1.0.0-alpha2, 1.0.0-beta1, 1.0.0-beta2, 1.0.0-beta3, 1.
0.0-beta4, 1.0.0-beta5, 1.0.0-rc1, 1.0.0-rc10, 1.0.0-rc11, 1.0.0-rc12, 1.0.0-rc1
3, 1.0.0-rc14, 1.0.0-rc15, 1.0.0-rc16, 1.0.0-rc17, 1.0.0-rc18, 1.0.0-rc19, 1.0.0
-rc2, 1.0.0-rc20, 1.0.0-rc21, 1.0.0-rc22, 1.0.0-rc23, 1.0.0-rc24, 1.0.0-rc25, 1.
0.0-rc26, 1.0.0-rc3, 1.0.0-rc4, 1.0.0-rc5, 1.0.0-rc6, 1.0.0-rc7, 1.0.0-rc8, 1.0.
0-rc9, 1.0.1, 1.0.2].

  To enable extensions, verify that they are enabled in your .ini files:
    - /etc/php.ini
    - /etc/php-7.0.d/20-bz2.ini
    - /etc/php-7.0.d/20-calendar.ini
    - /etc/php-7.0.d/20-ctype.ini
    - /etc/php-7.0.d/20-curl.ini
    - /etc/php-7.0.d/20-dom.ini
    - /etc/php-7.0.d/20-exif.ini
    - /etc/php-7.0.d/20-fileinfo.ini
    - /etc/php-7.0.d/20-ftp.ini
    - /etc/php-7.0.d/20-gettext.ini
    - /etc/php-7.0.d/20-iconv.ini
    - /etc/php-7.0.d/20-json.ini
    - /etc/php-7.0.d/20-mysqlnd.ini
    - /etc/php-7.0.d/20-pdo.ini
    - /etc/php-7.0.d/20-phar.ini
    - /etc/php-7.0.d/20-posix.ini
    - /etc/php-7.0.d/20-shmop.ini
    - /etc/php-7.0.d/20-simplexml.ini
    - /etc/php-7.0.d/20-sockets.ini
    - /etc/php-7.0.d/20-sqlite3.ini
    - /etc/php-7.0.d/20-sysvmsg.ini
    - /etc/php-7.0.d/20-sysvsem.ini
    - /etc/php-7.0.d/20-sysvshm.ini
    - /etc/php-7.0.d/20-tokenizer.ini
    - /etc/php-7.0.d/20-xml.ini
    - /etc/php-7.0.d/20-xmlwriter.ini
    - /etc/php-7.0.d/20-xsl.ini
    - /etc/php-7.0.d/30-mysqli.ini
    - /etc/php-7.0.d/30-pdo_mysql.ini
    - /etc/php-7.0.d/30-pdo_sqlite.ini
    - /etc/php-7.0.d/30-wddx.ini
    - /etc/php-7.0.d/30-xmlreader.ini
    - /etc/php-7.0.d/php.ini
  You can also run `php --ini` inside terminal to see which files are used by PH
P in CLI mode. 

And when i run php --ini it gives me these:

Configuration File (php.ini) Path: /etc/php-7.0.conf:/etc
Loaded Configuration File:         /etc/php.ini
Scan for additional .ini files in: /etc/php-7.0.d
Additional .ini files parsed:      /etc/php-7.0.d/20-bz2.ini,
/etc/php-7.0.d/20-calendar.ini,
/etc/php-7.0.d/20-ctype.ini,
/etc/php-7.0.d/20-curl.ini,
/etc/php-7.0.d/20-dom.ini,
/etc/php-7.0.d/20-exif.ini,
/etc/php-7.0.d/20-fileinfo.ini,
/etc/php-7.0.d/20-ftp.ini,
/etc/php-7.0.d/20-gettext.ini,
/etc/php-7.0.d/20-iconv.ini,
/etc/php-7.0.d/20-json.ini,
/etc/php-7.0.d/20-mysqlnd.ini,
/etc/php-7.0.d/20-pdo.ini,
/etc/php-7.0.d/20-phar.ini,
/etc/php-7.0.d/20-posix.ini,
/etc/php-7.0.d/20-shmop.ini,
/etc/php-7.0.d/20-simplexml.ini,
/etc/php-7.0.d/20-sockets.ini,
/etc/php-7.0.d/20-sqlite3.ini,
/etc/php-7.0.d/20-sysvmsg.ini,
/etc/php-7.0.d/20-sysvsem.ini,
/etc/php-7.0.d/20-sysvshm.ini,
/etc/php-7.0.d/20-tokenizer.ini,
/etc/php-7.0.d/20-xml.ini,
/etc/php-7.0.d/20-xmlwriter.ini,
/etc/php-7.0.d/20-xsl.ini,
/etc/php-7.0.d/30-mysqli.ini,
/etc/php-7.0.d/30-pdo_mysql.ini,
/etc/php-7.0.d/30-pdo_sqlite.ini,
/etc/php-7.0.d/30-wddx.ini,
/etc/php-7.0.d/30-xmlreader.ini,
/etc/php-7.0.d/php.ini

Attempted solution

I've tried installing alchemy/zippy with composer require alchemy/zippy in my project directory returning:

Using version ^0.4.8 for alchemy/zippy
./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
    - drupal/console 1.0.2 requires alchemy/zippy 0.4.3 -> satisfiable by alchem
y/zippy[0.4.3] but these conflict with your requirements or minimum-stability.
    - drupal/console 1.0.1 requires alchemy/zippy 0.4.3 -> satisfiable by alchem
y/zippy[0.4.3] but these conflict with your requirements or minimum-stability.
    - drupal/console 1.0.0-rc9 requires alchemy/zippy 0.3.5 -> satisfiable by al
chemy/zippy[0.3.5] but these conflict with your requirements or minimum-stabilit
y.
    - drupal/console 1.0.0-rc8 requires alchemy/zippy 0.3.5 -> satisfiable by al
chemy/zippy[0.3.5] but these conflict with your requirements or minimum-stabilit
y.
    - drupal/console 1.0.0-rc7 requires alchemy/zippy 0.3.5 -> satisfiable by al
chemy/zippy[0.3.5] but these conflict with your requirements or minimum-stabilit
y.
    - drupal/console 1.0.0-rc6 requires alchemy/zippy 0.3.5 -> satisfiable by al
chemy/zippy[0.3.5] but these conflict with your requirements or minimum-stabilit
y.
    - drupal/console 1.0.0-rc5 requires alchemy/zippy 0.3.5 -> satisfiable by al
chemy/zippy[0.3.5] but these conflict with your requirements or minimum-stabilit
y.
    - drupal/console 1.0.0-rc4 requires alchemy/zippy 0.3.5 -> satisfiable by al
chemy/zippy[0.3.5] but these conflict with your requirements or minimum-stabilit
y.
    - drupal/console 1.0.0-rc3 requires alchemy/zippy 0.3.5 -> satisfiable by al
chemy/zippy[0.3.5] but these conflict with your requirements or minimum-stabilit
y.
    - drupal/console 1.0.0-rc26 requires alchemy/zippy 0.4.3 -> satisfiable by a
lchemy/zippy[0.4.3] but these conflict with your requirements or minimum-stabili
ty.
    - drupal/console 1.0.0-rc25 requires alchemy/zippy 0.4.3 -> satisfiable by a
lchemy/zippy[0.4.3] but these conflict with your requirements or minimum-stabili
ty.
    - drupal/console 1.0.0-rc24 requires alchemy/zippy 0.4.3 -> satisfiable by a
lchemy/zippy[0.4.3] but these conflict with your requirements or minimum-stabili
ty.
    - drupal/console 1.0.0-rc23 requires alchemy/zippy 0.4.3 -> satisfiable by a
lchemy/zippy[0.4.3] but these conflict with your requirements or minimum-stabili
ty.
    - drupal/console 1.0.0-rc22 requires alchemy/zippy 0.4.3 -> satisfiable by a
lchemy/zippy[0.4.3] but these conflict with your requirements or minimum-stabili
ty.
    - drupal/console 1.0.0-rc21 requires alchemy/zippy 0.4.3 -> satisfiable by a
lchemy/zippy[0.4.3] but these conflict with your requirements or minimum-stabili
ty.
    - drupal/console 1.0.0-rc20 requires alchemy/zippy 0.4.3 -> satisfiable by a
lchemy/zippy[0.4.3] but these conflict with your requirements or minimum-stabili
ty.
    - drupal/console 1.0.0-rc2 requires alchemy/zippy 0.3.5 -> satisfiable by al
chemy/zippy[0.3.5] but these conflict with your requirements or minimum-stabilit
y.
    - drupal/console 1.0.0-rc19 requires alchemy/zippy 0.4.3 -> satisfiable by a
lchemy/zippy[0.4.3] but these conflict with your requirements or minimum-stabili
ty.
    - drupal/console 1.0.0-rc18 requires alchemy/zippy 0.4.3 -> satisfiable by a
lchemy/zippy[0.4.3] but these conflict with your requirements or minimum-stabili
ty.
    - drupal/console 1.0.0-rc17 requires alchemy/zippy 0.4.3 -> satisfiable by a
lchemy/zippy[0.4.3] but these conflict with your requirements or minimum-stabili
ty.
    - drupal/console 1.0.0-rc16 requires alchemy/zippy 0.4.3 -> satisfiable by a
lchemy/zippy[0.4.3] but these conflict with your requirements or minimum-stabili
ty.
    - drupal/console 1.0.0-rc15 requires alchemy/zippy 0.4.3 -> satisfiable by a
lchemy/zippy[0.4.3] but these conflict with your requirements or minimum-stabili
ty.
    - drupal/console 1.0.0-rc14 requires alchemy/zippy 0.4.3 -> satisfiable by a
lchemy/zippy[0.4.3] but these conflict with your requirements or minimum-stabili
ty.
    - drupal/console 1.0.0-rc13 requires alchemy/zippy 0.4.3 -> satisfiable by a
lchemy/zippy[0.4.3] but these conflict with your requirements or minimum-stabili
ty.
    - drupal/console 1.0.0-rc12 requires alchemy/zippy 0.3.5 -> satisfiable by a
lchemy/zippy[0.3.5] but these conflict with your requirements or minimum-stabili
ty.
    - drupal/console 1.0.0-rc11 requires alchemy/zippy 0.3.5 -> satisfiable by a
lchemy/zippy[0.3.5] but these conflict with your requirements or minimum-stabili
ty.
    - drupal/console 1.0.0-rc10 requires alchemy/zippy 0.3.5 -> satisfiable by a
lchemy/zippy[0.3.5] but these conflict with your requirements or minimum-stabili
ty.
    - drupal/console 1.0.0-rc1 requires alchemy/zippy 0.3.5 -> satisfiable by al
chemy/zippy[0.3.5] but these conflict with your requirements or minimum-stabilit
y.
    - drupal/console 1.0.0-beta5 requires alchemy/zippy 0.3.5 -> satisfiable by
alchemy/zippy[0.3.5] but these conflict with your requirements or minimum-stabil
ity.
    - drupal/console 1.0.0-beta4 requires alchemy/zippy 0.3.5 -> satisfiable by
alchemy/zippy[0.3.5] but these conflict with your requirements or minimum-stabil
ity.
    - drupal/console 1.0.0-beta3 requires alchemy/zippy 0.3.5 -> satisfiable by
alchemy/zippy[0.3.5] but these conflict with your requirements or minimum-stabil
ity.
    - drupal/console 1.0.0-beta2 requires alchemy/zippy 0.3.5 -> satisfiable by
alchemy/zippy[0.3.5] but these conflict with your requirements or minimum-stabil
ity.
    - drupal/console 1.0.0-beta1 requires alchemy/zippy 0.3.5 -> satisfiable by
alchemy/zippy[0.3.5] but these conflict with your requirements or minimum-stabil
ity.
    - drupal/console 1.0.0-alpha2 requires alchemy/zippy 0.3.5 -> satisfiable by
 alchemy/zippy[0.3.5] but these conflict with your requirements or minimum-stabi
lity.
    - drupal/console 1.0.0-alpha1 requires alchemy/zippy 0.3.5 -> satisfiable by
 alchemy/zippy[0.3.5] but these conflict with your requirements or minimum-stabi
lity.
    - drupal/console 1.0.0 requires alchemy/zippy 0.4.3 -> satisfiable by alchem
y/zippy[0.4.3] but these conflict with your requirements or minimum-stability.
    - Installation request for drupal/console ~1.0 -> satisfiable by drupal/cons
ole[1.0.0, 1.0.0-alpha1, 1.0.0-alpha2, 1.0.0-beta1, 1.0.0-beta2, 1.0.0-beta3, 1.
0.0-beta4, 1.0.0-beta5, 1.0.0-rc1, 1.0.0-rc10, 1.0.0-rc11, 1.0.0-rc12, 1.0.0-rc1
3, 1.0.0-rc14, 1.0.0-rc15, 1.0.0-rc16, 1.0.0-rc17, 1.0.0-rc18, 1.0.0-rc19, 1.0.0
-rc2, 1.0.0-rc20, 1.0.0-rc21, 1.0.0-rc22, 1.0.0-rc23, 1.0.0-rc24, 1.0.0-rc25, 1.
0.0-rc26, 1.0.0-rc3, 1.0.0-rc4, 1.0.0-rc5, 1.0.0-rc6, 1.0.0-rc7, 1.0.0-rc8, 1.0.
0-rc9, 1.0.1, 1.0.2].

Installation failed, reverting ./composer.json to its original content.

I'm confused as to why when i try to install the package it is complaining about it complains about not having the package i'm trying to install... I'm probably missing something obvious this is my first time using drupal/thunder/composer.

but these conflict with your requirements or minimum-stability.

I found this issue on the drupal-console repo and have tried clearing the cache and installing globally to no avail.

I've searched around and found similar problems for other composer packages but i am unsure of how to resolve these conflicts.

is this an issue with the composer.json file or something to do with the drupal/console package?

System infomation

I'm on an aws instance running ami linux using: PHP version 7.0.21 Composer version 1.5.2 Node version 4.4.5

Sorry for the massive wall of text, Thanks for your time! :bowing_man:

nelslynn commented 6 years ago

Synj24,

Did you ever figure this out? I'm having the same issue. Thanks!

mtodor commented 6 years ago

@Synj24 @nelslynn,

We have tagged new release - 8.2.2. Requirement for console is changed there, so this problem could be resolved.

Can you please check again?

I have tested on Mac OS X:

composer 1.6.3
php 7.1.14
Shiro699 commented 6 years ago

You must Install PHP extension mbstring.

sudo apt-get install php-mbstring

nickpodpryatov commented 5 years ago

Hi, i am trying to add burdamagazinorg/thunder to the project, because i removed it from the composer.json for update the drupal code and modules. How i can solve these problems??

` Problem 1

Installation failed, reverting ./composer.json to its original content. `

nickpodpryatov commented 5 years ago

Trying to install thunder after Drupal 8.7.3 `Your requirements could not be resolved to an installable set of packages.

Problem 1

How I can solve this??