Re: [Tiki-devel] PROBLEM WHEN INSTALLING A DEPENDENCY
Jonny Bradley via TikiWiki-devel <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Alvin Oops, my bad indeed, i'd forgotten to add select2-bootstrap-5-theme to composer.tiki.org, which i did in https://gitlab.com/tikiwiki/tiki/-/commit/10e4fb22bc8f59134409099e9eee45dc57ec2163 However, now i get another issue: > Problem 1 > - fabpot/goutte[v3.3.0, ..., v3.3.1] require guzzlehttp/guzzle ^6.0 -> satisfiable by guzzlehttp/guzzle[6.0.0, 6.2.1, 6.3.0, 6.5.5]. > - You can only install one version of a package, so only one of these can be installed: guzzlehttp/guzzle[6.0.0, 6.2.1, 6.3.0, 6.5.5, 7.0.0, 7.4.0, 7.4.2]. > - gidkom/php-openfire-restapi dev-master requires guzzlehttp/guzzle ^7.0 -> satisfiable by guzzlehttp/guzzle[7.0.0, 7.4.0, 7.4.2]. > - Conclusion: don't install guzzlehttp/guzzle 7.4.0 (conflict analysis result) > - Conclusion: don't install guzzlehttp/guzzle 7.4.2 (conflict analysis result) > - Root composer.json requires gidkom/php-openfire-restapi dev-master -> satisfiable by gidkom/php-openfire-restapi[dev-master]. > - Root composer.json requires fabpot/goutte ^3.2 -> satisfiable by fabpot/goutte[v3.3.0, v3.3.1]. Which i think is because gidkom/php-openfire-restapi is on dev-master and someone's increased the guzzlehttp/guzzle requirement from 6.x to 7.x (the dangers of leaving things on dev-master). I guess we should switch it to use ^1.0 which only needs guzzle 6.x (https://packagist.org/packages/gidkom/php-openfire-restapi#1.0.0) but testing it will be tricky... Ok, that seemed to work, pushed in 51109f73 - this probably needs doing in 24.x too :( jonny > On 13 May 2022, at 11:29, Alvin Bauma <[email protected]> wrote: > > Hi Jonny (and others interested). > > I get an error when trying to run this command : php temp/composer.phar update --prefer-dist --working-dir="vendor_bundled" . Any idea. > >> Your requirements could not be resolved to an installable set of packages. >> >> Problem 1 >> - Root composer.json requires npm-asset/select2-bootstrap-5-theme ^1.2 -> satisfiable by npm-asset/select2-bootstrap-5-theme[1.2.0]. >> - npm-asset/select2-bootstrap-5-theme 1.2.0 requires npm-asset/bootstrap >=5.0.2,<6.0.0 -> satisfiable by npm-asset/bootstrap[5.0.2, ..., 5.1.3] from composer repo (https://asset-packagist.org) but npm-asset/bootstrap[4.6.0, 4.6.1] from composer repo (https://composer.tiki.org) has higher repository priority. The packages with higher priority do not match your constraint and are therefore not installable. See https://getcomposer.org/repoprio for details and assistance. > > > -- > Alvin BAUMA KALAMO > Software engineer > Phone/WhatsApp : +243 995 502 981 > Mobile : +243 840 409 642 > Email : [email protected] > Portfolio : https://torre.co/alvinbm > <Capture d’écran 2022-05-13 à 12.27.28.png>_______________________________________________ > TikiWiki-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel _______________________________________________ TikiWiki-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel