dipcb05
2 months ago
1331
2
Laravel

Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1

Posted 2 months ago by dipcb05

I want to host my site in local server, i copied the project folder and paste it to /var/www/html/public_html

then i followed this one to host - https://www.interserver.net/tips/kb/deploy-laravel-project-apache-ubuntu/

i tried to install composer in /var/www/html using super user mode, then i found this error-

Illuminate\Foundation\ComposerScripts::postAutoloadDump @php artisan package:discover --ansi Could not open input file: artisan Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1

i comment out that function, still error occurred.

what i do now

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