IamJahedShaikh
1 week ago

Unable to deploy Google app engine with bitfumes/laravel-multiauth package

Posted 1 week ago by IamJahedShaikh

Hello, I am getting following error whenever I add this "bitfumes/laravel-multiauth" in my composer on Google App Engine.

It run locally without any problem. The issue occurs only when I run "gcloud app deploy" command

ERROR: build step 1 "gcr.io/gae-runtimes/php73_app_builder:php73_20200223_7_3_14_RC00" failed: step exited with non-zero status: 1
ERROR
Finished Step #1 - "builder"
Step #1 - "builder": IOError: [Errno 2] No such file or directory: '""/output'
Step #1 - "builder":   File "/usr/local/bin/ftl.par/__main__/ftl/common/ftl_error.py", line 58, in UserErrorHandler
Step #1 - "builder":   File "/usr/local/bin/ftl.par/__main__.py", line 57, in main
Step #1 - "builder":   File "/usr/local/bin/ftl.par/__main__.py", line 65, in <module>
Step #1 - "builder":     exec code in run_globals
Step #1 - "builder":   File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
Step #1 - "builder":     "__main__", fname, loader, pkg_name)
Step #1 - "builder":   File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
Step #1 - "builder": Traceback (most recent call last):
Step #1 - "builder": error: `composer_install` returned code: 1
Step #1 - "builder": 
Step #1 - "builder": Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1
Step #1 - "builder": > @php artisan package:discover --ansi
Step #1 - "builder": > Illuminate\Foundation\ComposerScripts::postAutoloadDump
Step #1 - "builder": Generating optimized autoload files
Step #1 - "builder":   - Installing nunomaduro/collision (v4.1.3): Downloading (100%)
Step #1 - "builder":   - Installing facade/ignition-contracts (1.0.0): Downloading (100%)
Step #1 - "builder":   - Installing filp/whoops (2.7.1): Downloading (100%)
Step #1 - "builder":   - Installing laravel/tinker (v2.3.0): Downloading (100%)
Step #1 - "builder":   - Installing psy/psysh (v0.10.2): Downloading (100%)

My composer file;

{
    "name": "laravel/laravel",
    "type": "project",
    "description": "The Laravel Framework.",
    "keywords": [
        "framework",
        "laravel"
    ],
    "license": "MIT",
    "require": {
        "php": "^7.2.5",
        "fideloper/proxy": "^4.2",
        "fruitcake/laravel-cors": "^1.0",
        "guzzlehttp/guzzle": "^6.3",
        "laravel/framework": "^7.0",
        "nunomaduro/collision": "^4.1",
        "laravel/tinker": "^2.0",
        "bitfumes/laravel-multiauth": "4.0.0"
    },
    "require-dev": {
        "fzaninotto/faker": "^1.9.1",
        "mockery/mockery": "^1.3.1",
        "phpunit/phpunit": "^8.5"
    },
    "config": {
        "optimize-autoloader": true,
        "preferred-install": "dist",
        "sort-packages": true
    },
    "extra": {
        "laravel": {
            "dont-discover": []
        }
    },
    "autoload": {
        "psr-4": {
            "App\": "app/"
        },
        "classmap": [
            "database/seeds",
            "database/factories"
        ]
    },
    "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"
        ]
    }
}

Please sign in or create an account to participate in this conversation.