I work with Xampp and Laravel (Webpack), the Versions before work great, I used exactly your online-workflow, now I get this error-massege:
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi
In Finder.php line 588:
syntax error, unexpected token ")"
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1
I can´t find the Finder.php to delate the token, please help!
Thanks
Hi,
We are not sure what happens. But you can try to remove this part from the composer.json file. Then retry with the composer install
command.
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi"
],
it works!