Skip to content

Install error laravel 8.x #35

@NeonOdyssey

Description

@NeonOdyssey

I am attempting to install with laravel 8.x and I am running into this error ...

Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi

   Illuminate\Database\QueryException

  could not find driver (SQL: select * from information_schema.tables where table_schema = pp_website and table_name = migrations and table_type = 'BASE TABLE')

  at vendor/laravel/framework/src/Illuminate/Database/Connection.php:678
     674// If an exception occurs when attempting to run a query, we'll format the error
     675▕         // message to include the bindings with SQL, which will make this exception a
     676▕         // lot more helpful to the developer instead of just the database's errors.
     677catch (Exception $e) {
  ➜ 678throw new QueryException(
     679$query, $this->prepareBindings($bindings), $e
     680▕             );
     681▕         }
     6821   [internal]:0
      Illuminate\Foundation\Application::Illuminate\Foundation\{closure}()

      +2 vendor frames
  4   [internal]:0
      Illuminate\Foundation\Application::Illuminate\Foundation\{closure}()
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

Metadata

Metadata

Assignees

No one assigned

    Labels

    local issueAffects user installed app onlyto confirm solvedWaiting for user feedback

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions