composer update error


  • | 2272 points

    where is the problem from
    0_1498122992795_1.png
    0_1498123053367_2.png


  • administrators
    | 62340 points

    @sajjadkazemi10 : From composer message, you just need to enable fileinfo extension.

    Note: You had a key duplication in your compose.json, check and fix it also.


  • | 2272 points

    @leokhoa
    This is the contents of the Composer.json file


        "name": "laravel/laravel",
        "description": "The Laravel Framework.",
        "keywords": ["framework", "laravel"],
        "license": "MIT",
        "type": "project",
        "require": {
            "php": ">=5.6.4",
            "laravel/framework": "5.4.*",
            "laravel/tinker": "~1.0"
        },
        "require-dev": {
            "fzaninotto/faker": "~1.4",
            "mockery/mockery": "0.9.*",
            "phpunit/phpunit": "~5.7"
        },
        "autoload": {
            "classmap": [
                "database"
            ],
            "psr-4": {
                "App\\": "app/"
            }
        },
        "autoload-dev": {
            "psr-4": {
                "Tests\\": "tests/"
            }
        },
        "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 optimize"
            ],
            "post-update-cmd": [
                "Illuminate\\Foundation\\ComposerScripts::postUpdate",
                "php artisan optimize"
            ]
        },
    	
    	 "require": {
            "serverfireteam/panel": "1.6.*"
        },
        "config": {
            "preferred-install": "dist",
            "sort-packages": true,
            "optimize-autoloader": true
        }
    	
    }
    
    ***

  • administrators
    | 62340 points

    @sajjadkazemi10: Your composer.json file is corrupted. Please provide it correctly.


  • | 2272 points

    @leokhoa
    How should i repair؟


Log in to reply
 

Looks like your connection to Laragon was lost, please wait while we try to reconnect.