求助:composer更新完之后,Generating optimized autoload files时候报错


laravel 5.7中,composer更新完之后,在跑到Generating optimized autoload files时候报错


13f2dc682692b218aa1bd23a8f64958e.png

手动执行 composer dump-autoload也报错

f507a4abf81b624895a749b68423d0f9.png

composer.json 文件

    "require": {
        "php": "^7.1.3",
        "alibabacloud/sdk": "^1.7",
        "dingo/api": "2.*",
        "doctrine/dbal": "^2.9",
        "fideloper/proxy": "^4.0",
        "laravel/framework": "5.7.*",
        "laravel/tinker": "^1.0",
        "latrell/rongcloud": "dev-master",
        "maatwebsite/excel": "^3.1",
        "overtrue/laravel-wechat": "^4.0",
        "phpoffice/phpexcel": "^1.8",
        "predis/predis": "^1.1",
        "qcloud/cos-sdk-v5": "^1.3",
        "qcloud_sts/qcloud-sts-sdk": "^1.3",
        "spatie/laravel-permission": "^2.29",
        "tymon/jwt-auth": "dev-develop",
        "workerman/gateway-worker": "^3.0",
        "workerman/gatewayclient": "^3.0",
        "workerman/mysql": "^1.0"
    },
    "require-dev": {
        "beyondcode/laravel-dump-server": "^1.0",
        "filp/whoops": "^2.0",
        "fzaninotto/faker": "^1.4",
        "mockery/mockery": "^1.0",
        "nunomaduro/collision": "^2.0",
        "phpunit/phpunit": "^7.0"
    },
    "config": {
        "optimize-autoloader": true,
        "preferred-install": "dist",
        "sort-packages": true,
        "secure-http": true
    },
    "extra": {
        "laravel": {
            "dont-discover": []
        }
    },
    "autoload": {
        "psr-4": {
            "App\\": "app/"
        },
        "files": [
            "app/Helper/functions.php"
        ],
        "classmap": [
            "database/seeds",
            "database/factories",
            "vendor/qcloud_sts/qcloud-sts-sdk/sts"
        ]
    },
    "autoload-dev": {
        "psr-4": {
            "Tests\\": "tests/"
        }
    },
    "minimum-stability": "dev",
    "prefer-stable": true,
    "scripts": {
        "post-autoload-dump": [
            "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
            "@php artisan package:discover --ansi"
        ],
        "post-root-package-install": [
            "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
        ],
        "post-create-project-cmd": [
            "@php artisan key:generate --ansi"
        ]
    }

Vote Vote Cancel Collect Collect Cancel

<< 上一篇: laravel5.8里没有UserRepository文件

>> 下一篇: 邮件发送超时,不知道怎么解决