#searchable

31 messages · Page 1 of 1 (latest)

grand yew
#

Updating laravel 8 to 9 gets errors

Problem 1
- illuminate/database[v6.0.0, ..., v6.19.1] require php ^7.2 -> your php version (8.1.2) does not satisfy that requirement.
- illuminate/database[v7.0.0, ..., v7.28.4] require php ^7.2.5 -> your php version (8.1.2) does not satisfy that requirement.
- illuminate/database[v8.0.0, ..., v8.11.2] require php ^7.3 -> your php version (8.1.2) does not satisfy that requirement.
- Root composer.json requires spatie/laravel-permission ^4.0 -> satisfiable by spatie/laravel-permission[4.0.0, ..., v4.x-dev].
- Conclusion: don't install laravel/framework v9.0.0-beta.2 (conflict analysis result)
- Conclusion: don't install laravel/framework v9.0.0-beta.3 (conflict analysis result)
- Conclusion: don't install laravel/framework v9.0.0-beta.4 (conflict analysis result)
- Conclusion: don't install laravel/framework v9.0.0-beta.5 (conflict analysis result)
- Conclusion: don't install laravel/framework v9.0.0 (conflict analysis result)
- Conclusion: don't install laravel/framework v9.0.1 (conflict analysis result)

young inlet
#

Have you read the errors…?

grand yew
#

yes

young inlet
#

require php ^7.2 -> your php version (8.1.2) does not satisfy that requirement.

#

So something is requiring PHP 7.2.*

grand yew
#

illuminate/database[v6.0.0, ..., v6.19.1] require php ^7.2 -> your php version (8.1.2) does not satisfy that requirement

young inlet
#

So you’ll need to update that package as well.

grand yew
#

i will try

#

update this

#

@young inlet how to update that

    - illuminate/support[v5.8.0, ..., 5.8.x-dev] require php ^7.1.3 -> your php version (8.1.2) does not satisfy that requirement.
    - illuminate/support[v6.0.0, ..., v6.19.1] require php ^7.2 -> your php version (8.1.2) does not satisfy that requirement.    
    - illuminate/support[v7.0.0, ..., v7.28.4] require php ^7.2.5 -> your php version (8.1.2) does not satisfy that requirement.  
    - illuminate/support[v8.0.0, ..., v8.11.2] require php ^7.3 -> your php version (8.1.2) does not satisfy that requirement.    
young inlet
#

I don’t know with a snipped error message.

#

You need to review the requirements of the packages you’re trying to install.

#

Again, something is locking the PHP version to 7.*

grand yew
#

hmm ok i will try to fix it somehow

young inlet
#

Well share the full output from Composer?

#

It’ll mention the package that’s the root cause.

grand yew
#

i have this in composer

#
        "php": "^7.4|^8.1",
        "artesaos/seotools": "^0.20.1",
        "barryvdh/laravel-debugbar": "^3.5",
        "fideloper/proxy": "^4.4",
        "fruitcake/laravel-cors": "^2.0",
        "guzzlehttp/guzzle": "^7.3",
        "haruncpi/laravel-log-reader": "^1.0",
        "inspector-apm/inspector-laravel": "^4.7",
        "intervention/image": "^2.7",
        "kkomelin/laravel-translatable-string-exporter": "^1.13",
        "laravel/fortify": "^1.7",
        "laravel/framework": "^8.12",
        "laravel/scout": "^9.4",
        "laravel/tinker": "^2.5",
        "league/flysystem-aws-s3-v3": "^1.0",
        "livewire/livewire": "^2.4",
        "maatwebsite/excel": "3.1.30",
        "mtownsend/response-xml": "^2.0",
        "mtownsend/xml-to-array": "^2.0",
        "nwidart/laravel-modules": "8.2.0",
        "opcodesio/log-viewer": "^1.2",
        "sentry/sentry-laravel": "^2.10",
        "silviolleite/laravelpwa": "^2.0",
        "simplesoftwareio/simple-qrcode": "^4.2",
        "spatie/laravel-permission": "^5.6",
        "spatie/laravel-sluggable": "^2.6"
    },
    "require-dev": {
        "facade/ignition": "^2.5",
        "fakerphp/faker": "^1.9.1",
        "laravel/sail": "^1.10",
        "mockery/mockery": "^1.4.2",
        "nunomaduro/collision": "^5.0",
        "phpunit/phpunit": "^9.3.3"
    },
#

and it works fine

#

when i change to laravel/framework to ^9.0
nunomaduro/collision to ^6.1

#

i get this

young inlet
#

So again, it’s pointing out the problem package: maatwebsite/excel

#

So you need to update that package as well.

grand yew
#

same with artesaos/seotools i think

#

@young inlet ok now i get only few eees

#
    - Root composer.json requires laravel/scout ^9.4 -> satisfiable by laravel/scout[v9.4.0, ..., 9.x-dev].
    - Root composer.json requires laravel/framework ^9.0 -> satisfiable by laravel/framework[v9.0.0-beta.1, ..., 9.x-dev].
    - Root composer.json requires nunomaduro/collision ^5.0 -> satisfiable by nunomaduro/collision[v5.0.0-BETA1, ..., v5.x-dev].
    - You can only install one version of a package, so only one of these can be installed: symfony/console[v2.3.10, ..., 2.8.x-dev, v3.0.0-BETA1, ..., 3.4.x-dev, v4.0.0-BETA1, ..., 4.4.x-dev, v5.0.0-BETA1, ..., 5.4.x-dev, v6.0.0-BETA1, ..., 6.3.x-dev].
    - Conclusion: install symfony/console v6.0.3 (conflict analysis result)
    - Conclusion: don't install symfony/console[v6.0.3] | install one of symfony/console[v5.0.11, ..., v5.3.16] (conflict analysis result)

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.```
#

i fixed