Laravel and vue application deployed giving 404 error


After deploying it using github I am getting 404 page. I am using Laravel and Vue as a technology stack. Sending this build command before deploying.

composer update; php artisan migrate:fresh --seed; npm run development;

Got the error in the log when creating the database using “planetscale”.

9:02:04 PM: No security vulnerability advisories found
9:02:04 PM: Illuminate\Database\QueryException
9:02:04 PM: could not find driver (SQL: SHOW FULL TABLES WHERE table_type = ‘BASE TABLE’)
9:02:04 PM: at vendor/laravel/framework/src/Illuminate/Database/Connection.php:671
9:02:04 PM: 667| // If an exception occurs when attempting to run a query, we’ll format the error
9:02:04 PM: 668| // message to include the bindings with SQL, which will make this exception a
9:02:04 PM: 669| // lot more helpful to the developer instead of just the database’s errors.
9:02:04 PM: 670| catch (Exception $e) {
9:02:04 PM: > 671| throw new QueryException(
9:02:04 PM: 672| $query, $this->prepareBindings($bindings), $e
9:02:17 PM: Site is live :sparkles:
9:02:04 PM: 673| );
9:02:04 PM: 674| }
9:02:04 PM: 675|
9:02:04 PM: +44 vendor frames
9:02:04 PM: 45 artisan:37
9:02:04 PM: Illuminate\Foundation\Console\Kernel::handle()

Here is the URL.

I would really appreciate some solution or help.

Asad Ullah

Netlify doesn’t run Laravel apps, as far as I’m aware. You can only deploy the Vue.js part here.