When trying to install composer in laravel project get this error.
Illuminate\Foundation\ComposerScripts::postAutoloadDump @php artisan package:discover In ProviderRepository.php line 208:
Class 'NunoMaduro\Collision\Adapters\Laravel\CollisionServiceProvider' not
found
Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1
I had this issue when deploying my app to Google App Engine. I found that by moving "nunomaduro/collision": "^2.0" from "require-dev" to "require" in my composer.json fixed this problem.
nunomaduro/collision
: ^2.0
from require-dev
to require
in composerIf that doesn't solve the problem, try
composer.lock
fileIf you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With