Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Versioning issues when installing Admin Architect #88

Open
zerossB opened this issue Feb 10, 2022 · 2 comments
Open

Versioning issues when installing Admin Architect #88

zerossB opened this issue Feb 10, 2022 · 2 comments

Comments

@zerossB
Copy link

zerossB commented Feb 10, 2022

Hi! I'm trying to install this project to start testing it, but I'm having difficulties, here is my development stack and the package installation error log.

PHP: 8.1.2
Composer: 2.2.5 2022-01-21 17:25:52
Laravel: 8.83.0

Installation error log

$ composer require adminarchitect/core
Using version ^1.6 for adminarchitect/core
./composer.json has been updated
Running composer update adminarchitect/core
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - adminarchitect/core[v1.6, ..., 1.6.x-dev] require laravelcollective/html 5.*|dev-master -> satisfiable by laravelcollective/html[dev-master, v5.0.0, ..., 5.8.x-dev].
    - laravelcollective/html dev-master requires illuminate/http ^6.0|^7.0 -> found illuminate/http[v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev] but these were not loaded, likely because it conflicts with another require.
    - laravelcollective/html[v5.0.0, ..., 5.0.x-dev] require illuminate/http ~5.0 -> found illuminate/http[v5.0.0, ..., 5.8.x-dev] but these were not loaded, likely because it conflicts with another require.
    - laravelcollective/html v5.0.5 requires illuminate/http ~5.1 -> found illuminate/http[v5.1.1, ..., 5.8.x-dev] but these were not loaded, likely because it conflicts with another require.
    - laravelcollective/html[v5.1.0, ..., 5.1.x-dev] require illuminate/http 5.1.* -> found illuminate/http[v5.1.1, ..., 5.1.x-dev] but these were not loaded, likely because it conflicts with another require.
    - laravelcollective/html[v5.2, ..., 5.2.x-dev] require illuminate/http 5.2.* -> found illuminate/http[v5.2.0, ..., 5.2.x-dev] but these were not loaded, likely because it conflicts with another require.
    - laravelcollective/html[v5.3.0, ..., 5.3.x-dev] require illuminate/http 5.3.* -> found illuminate/http[v5.3.0, ..., 5.3.x-dev] but these were not loaded, likely because it conflicts with another require.
    - laravelcollective/html[v5.4, ..., 5.4.x-dev] require illuminate/http 5.4.* -> found illuminate/http[v5.4.0, ..., 5.4.x-dev] but these were not loaded, likely because it conflicts with another require.
    - laravelcollective/html[v5.5, ..., 5.5.x-dev] require illuminate/http 5.5.* -> found illuminate/http[v5.5.0, ..., 5.5.x-dev] but these were not loaded, likely because it conflicts with another require.
    - laravelcollective/html[v5.5.2, ..., 5.6.x-dev] require illuminate/http 5.6.* -> found illuminate/http[v5.6.0, ..., 5.6.x-dev] but these were not loaded, likely because it conflicts with another require.
    - laravelcollective/html[v5.7, ..., 5.7.x-dev] require illuminate/http 5.7.* -> found illuminate/http[v5.7.0, ..., 5.7.x-dev] but these were not loaded, likely because it conflicts with another require.
    - laravelcollective/html[v5.8.0, ..., 5.8.x-dev] require illuminate/http 5.8.* -> found illuminate/http[v5.8.0, ..., 5.8.x-dev] but these were not loaded, likely because it conflicts with another require.
    - Root composer.json requires adminarchitect/core ^1.6 -> satisfiable by adminarchitect/core[v1.6, ..., 1.6.x-dev].

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

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
@zerossB
Copy link
Author

zerossB commented Feb 10, 2022

And if I install the latest version that is in the packagist it doesn't accept it because of the php version.

Isn't it time to accept php version 8.0?

$ composer require adminarchitect/core:2.3.0


  [InvalidArgumentException]
  Package adminarchitect/core at version 2.3.0 has requirements incompatible with your PHP version, PHP extensions and Composer version:
    - adminarchitect/core v2.3.0 requires php ^7.2 which does not match your installed version 8.1.2.


require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] [<packages>]...

@webplusmultimedia
Copy link

Hi there,
You need to upgrade the composer.json required like that
"require": { "php": "^7.4|^8.0|^8.1", "ext-json": "*", "ext-dom": "*", "laravelcollective/html": "^5.0|^6.0|^7.0|dev-master", "doctrine/dbal": "2.9.*|^3.3", "doctrine/annotations": "^1.6", "terranet/menus": "^2.2", "terranet/presentable": "^1.0", "terranet/localizer": "^1.0", "zendframework/zend-code": "2.*|3.*", "spatie/once": "^3.1.0", "diglactic/laravel-breadcrumbs": "^6.1|^7.2", "terranet/translatable": "^1.2" },

I use that on my Adminarchitect 4.0 laravel 9 (trying to push some tailwindcss + livewire + alpine on it)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants