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

Issue with TwigBridge for Laravel 6 #452

Open
16ur opened this issue Dec 4, 2024 · 0 comments
Open

Issue with TwigBridge for Laravel 6 #452

16ur opened this issue Dec 4, 2024 · 0 comments

Comments

@16ur
Copy link

16ur commented Dec 4, 2024

Hi, first of all, this is my first post on GitHub so please, be indulgent with me :)
For couple of days, I’m trying to upgrade my Laravel app (was under 5.4) by going step by step for upgrading it.
Now, I'm trynna upgrade to Laravel 6.x and it loooks like that TwigBridge is causing conflict. Plus, I'm having conflict with illuminate/view that I'm not getting.

Here's is my composer.json, and my terminal output

composer.json

{
    "name": "laravel/laravel",
    "description": "The Laravel Framework.",
    "keywords": ["framework", "laravel"],
    "license": "MIT",
    "type": "project",
    "require": {
        "php": ">=7.2.0",
        "barryvdh/laravel-dompdf": "^0.8.0",
        "dompdf/dompdf": "^0.8.3",
        "laravel/framework": "6.0.1",
        "laravel/tinker": "~1.0",
        "laravelcollective/html": "^5.3.0",
        "neutron/temporary-filesystem": "^2.2",
        "phpoffice/phpspreadsheet": "^1.29",
        "rcrowe/twigbridge": "^0.9.4",
        "tinymce/tinymce": "^7.4"
    },
    "autoload": {
        "classmap": [
            "database"
        ],
        "psr-4": {
            "App\\": "app/"
        }
    },
    "autoload-dev": {
        "psr-4": {
        }
    },
    "scripts": {
        "post-root-package-install": [
            "php -r \"file_exists('.env') || copy('.env.example', '.env');\""
        ],
        "post-create-project-cmd": [
            "php artisan key:generate"
        ],
        "post-install-cmd": [
            "Illuminate\\Foundation\\ComposerScripts::postInstall",
            "php artisan config:cache",
            "php artisan route:cache"
        ],
        "post-update-cmd": [
            "Illuminate\\Foundation\\ComposerScripts::postUpdate",
            "php artisan config:cache",
            "php artisan route:cache"
        ]
    },
    "config": {
        "preferred-install": "dist",
        "sort-packages": true,
        "allow-plugins": {
            "kylekatarnls/update-helper": true
        }
    }
}

Output errors

# composer update
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - rcrowe/twigbridge v0.9.12 requires illuminate/view 5.5.*|5.6.*|5.7.*|5.8.* -> satisfiable by illuminate/view[v5.5.0, ..., v5.8.36].
    - rcrowe/twigbridge v0.9.10 requires illuminate/view 5.5.*|5.6.*|5.7.*|5.8.x -> satisfiable by illuminate/view[v5.5.0, ..., v5.8.36].
    - rcrowe/twigbridge[v0.9.7, ..., v0.9.11] require illuminate/view 5.5.*|5.6.*|5.7.* -> satisfiable by illuminate/view[v5.5.0, ..., v5.7.28].
    - rcrowe/twigbridge v0.9.6 requires illuminate/view 5.0.*|5.1.*|5.2.*|5.3.*|5.4.*|5.5.*|5.6.* -> satisfiable by illuminate/view[v5.0.0, ..., v5.6.39].
    - rcrowe/twigbridge v0.9.5 requires illuminate/view 5.0.*|5.1.*|5.2.*|5.3.*|5.4.*|5.5.* -> satisfiable by illuminate/view[v5.0.0, ..., v5.5.44].
    - rcrowe/twigbridge v0.9.4 requires illuminate/view 5.0.*|5.1.*|5.2.*|5.3.*|5.4.* -> satisfiable by illuminate/view[v5.0.0, ..., v5.4.36].
    - Only one of these can be installed: illuminate/view[v5.0.0, ..., v5.8.36], laravel/framework[v6.0.1]. laravel/framework replaces illuminate/view and thus cannot coexist with it.
    - Root composer.json requires laravel/framework 6.0.1 -> satisfiable by laravel/framework[v6.0.1].
    - Root composer.json requires rcrowe/twigbridge ^0.9.4 -> satisfiable by rcrowe/twigbridge[v0.9.4, ..., v0.9.12].

I already thanks yall for answers :)

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

1 participant