Page 1 of 1

Laravel -Paket: discount ValueFactory in der ersten Instanziierung entdecken

Posted: 13 Feb 2025, 22:11
by Anonymous
Beim Ausführen meiner Github -Aktion habe ich diesen Fehler < /p>
bekommen

Code: Select all

> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi

In ValueRegisterService.php line 63:

You must pass ValueFactory in the first instantiation

Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1
< /code>
Der Befehl artisan und postautoloaddump befinden sich beide in den Skripts.Post-Autoload-Dump-Array < /p>
> < /> "scripts": {
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi"
]
< /code>
Dieser Fehler tritt nur bei GitHub -Aktionen auf < /p>
- name: Setup PHP
uses: shivammathur/setup-php@v2
env:
runner: self-hosted
with:
php-version: '8.2'
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, mongodb
coverage: none

- name: Prepare Laravel Application
run: |
php -r "file_exists('.env') || copy('.env.example', '.env');"

- name: Install Dependencies
run: composer update && composer install -q --no-ansi --no-interaction --no-progress --prefer-dist
< /code>
Muss ich eine andere Konfiguration hinzufügen? Um es auf GitHub -Aktion auszuführen? < /p>
Specs:
Laravel version: 10.10
PHP: 8.2