Shape-and-Shift / shopware-shortcode

Use Wordpress like Shortcodes in Shopware 6
MIT License
15 stars 3 forks source link

Installation on 6.6.6.1 fails #9

Open burnabit opened 4 days ago

burnabit commented 4 days ago

Hej!

I am getting errors when trying to install on Shopware 6.6.6.1:

composer require sas/shortcode
./composer.json has been updated
Running composer update sas/shortcode
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - doctrine/inflector[v1.3.0, ..., 1.3.1] require php ^7.1 -> your php version (8.2.20) does not satisfy that requirement.
    - Root composer.json requires sas/shortcode * -> satisfiable by sas/shortcode[1.0.0, 1.0.2].
    - sas/shortcode[1.0.0, ..., 1.0.2] require shopware/core ~6.4.0 -> satisfiable by shopware/core[6.4.0.0, ..., 6.4.20.2].
    - You can only install one version of a package, so only one of these can be installed: shopware/core[6.4.0.0, ..., v6.6.6.1].
    - shopware/administration v6.6.6.1 requires shopware/core v6.6.6.1 -> satisfiable by shopware/core[v6.6.6.1].
    - shopware/core[6.4.0.0, ..., 6.4.1.2] require doctrine/inflector 1.3.1 -> satisfiable by doctrine/inflector[1.3.1].
    - Root composer.json requires shopware/administration 6.6.6.1 -> satisfiable by shopware/administration[v6.6.6.1].

You can also try re-running composer require with an explicit version constraint, e.g. "composer require sas/shortcode:*" to figure out if any version is installable, or "composer require sas/shortcode:^2.1" if you know which you need.

Installation failed, reverting ./composer.json to its original content.
web5@k93d82:~/sw6stage$ composer require sas/shortcode:^2.1
./composer.json has been updated
Running composer update sas/shortcode
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires sas/shortcode ^2.1, found sas/shortcode[dev-fix-icon-shortcode, dev-main, dev-development, 1.0.0, 1.0.2] but it does not match the constraint.

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

Any help is appreciated.

Thanks in advance,

/bjorn

ChristopherDosin commented 4 days ago

Hi @burnabit - This plugin isn't compatible with Shopware 6.6, the last supported version was Shopware 6.4

https://github.com/Shape-and-Shift/shopware-shortcode/blob/main/composer.json#L21

But feel free to submit a PR 👍