server staging ErrorException composer update
I was staging a server with Laravel 7x, I updated Laravel to the 8x version locally and when I pushed I found error 500, running composer update gives me the following error:
Generating optimized autoload files
Illuminate\Foundation\ComposerScripts::postAutoloadDump @php artisan package:discover --ansi
ErrorException
require(/home/forge/....vendor/laravel/jetstream/src/../routes/.php): failed to open stream: No such file or directory
at vendor/laravel/framework/src/Illuminate/Support/ServiceProvider.php:144 140▕ / 141▕ protected function loadRoutesFrom($path) 142▕ { 143▕ if (! ($this->app instanceof CachesRoutes && $this->app->routesAreCached())) { ➜ 144▕ require $path; 145▕ } 146▕ } 147▕ 148▕ /*
+15 vendor frames
16 [internal]:0 Illuminate\Foundation\Application::Illuminate\Foundation{closure}()
+5 vendor frames
22 artisan:37 Illuminate\Foundation\Console\Kernel::handle() Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1
should i do gitignore on vendor folder?
Please or to participate in this conversation.