Pennebaker / craftcms-thearchitect

CraftCMS plugin to generate content models from JSON data.
MIT License
171 stars 9 forks source link

Error preventing Architect from being installed #65

Closed toddpadwick closed 5 years ago

toddpadwick commented 5 years ago

I am getting the following error when trying to install architect:

Composer output: Package "craftcms/vue-asset" listed for update is not installed. Ignoring.
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- symfony/yaml v4.1.0 requires php ^7.1.3 -> your PHP version (7.2.14) overridden by "config.platform.php" version (7.0) does not satisfy that requirement.
- symfony/yaml v4.1.1 requires php ^7.1.3 -> your PHP version (7.2.14) overridden by "config.platform.php" version (7.0) does not satisfy that requirement.
- symfony/yaml v4.1.2 requires php ^7.1.3 -> your PHP version (7.2.14) overridden by "config.platform.php" version (7.0) does not satisfy that requirement.
- symfony/yaml v4.1.3 requires php ^7.1.3 -> your PHP version (7.2.14) overridden by "config.platform.php" version (7.0) does not satisfy that requirement.
- symfony/yaml v4.1.4 requires php ^7.1.3 -> your PHP version (7.2.14) overridden by "config.platform.php" version (7.0) does not satisfy that requirement.
- symfony/yaml v4.1.5 requires php ^7.1.3 -> your PHP version (7.2.14) overridden by "config.platform.php" version (7.0) does not satisfy that requirement.
- symfony/yaml v4.1.6 requires php ^7.1.3 -> your PHP version (7.2.14) overridden by "config.platform.php" version (7.0) does not satisfy that requirement.
- symfony/yaml v4.1.7 requires php ^7.1.3 -> your PHP version (7.2.14) overridden by "config.platform.php" version (7.0) does not satisfy that requirement.
- symfony/yaml v4.1.8 requires php ^7.1.3 -> your PHP version (7.2.14) overridden by "config.platform.php" version (7.0) does not satisfy that requirement.
- symfony/yaml v4.2.0 requires php ^7.1.3 -> your PHP version (7.2.14) overridden by "config.platform.php" version (7.0) does not satisfy that requirement.
- symfony/yaml v4.2.1 requires php ^7.1.3 -> your PHP version (7.2.14) overridden by "config.platform.php" version (7.0) does not satisfy that requirement.
- symfony/yaml v4.1.9 requires php ^7.1.3 -> your PHP version (7.2.14) overridden by "config.platform.php" version (7.0) does not satisfy that requirement.
- symfony/yaml v4.2.2 requires php ^7.1.3 -> your PHP version (7.2.14) overridden by "config.platform.php" version (7.0) does not satisfy that requirement.
- symfony/yaml v4.1.10 requires php ^7.1.3 -> your PHP version (7.2.14) overridden by "config.platform.php" version (7.0) does not satisfy that requirement.
- symfony/yaml v4.2.4 requires php ^7.1.3 -> your PHP version (7.2.14) overridden by "config.platform.php" version (7.0) does not satisfy that requirement.
- symfony/yaml v4.2.3 requires php ^7.1.3 -> your PHP version (7.2.14) overridden by "config.platform.php" version (7.0) does not satisfy that requirement.
- symfony/yaml v4.1.11 requires php ^7.1.3 -> your PHP version (7.2.14) overridden by "config.platform.php" version (7.0) does not satisfy that requirement.
- symfony/yaml v4.2.5 requires php ^7.1.3 -> your PHP version (7.2.14) overridden by "config.platform.php" version (7.0) does not satisfy that requirement.
- pennebaker/craft-architect 2.3.0 requires symfony/yaml ^4.1 -> satisfiable by symfony/yaml[v4.2.5, v4.1.11, v4.2.3, v4.2.4, v4.1.10, v4.2.2, v4.1.9, v4.2.1, v4.2.0, v4.1.8, v4.1.7, v4.1.6, v4.1.5, v4.1.4, v4.1.3, v4.1.2, v4.1.1, v4.1.0].
- Installation request for pennebaker/craft-architect 2.3.0 -> satisfiable by pennebaker/craft-architect[2.3.0].
Running update with --no-dev does not mean require-dev is ignored, it just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.

I spoke with Craft CMS and they said the issue was that Architect has a requirement which does not match Craft in following package: https://github.com/Pennebaker/craft-architect/blob/master/composer.json#L27

spAnser commented 5 years ago

This is the craft 2 repository. I believe this is fixed in the craft 3 version of the plugin. https://github.com/Pennebaker/craft-architect/issues/38