Skip to content

Install command failed; Yaml class not found #40

@vinkla

Description

@vinkla

Laravel Package Version

1.0.1

Laravel Version

12.23.1

PHP Version

8.4.11

Database Driver & Version

Supabase Postgres

Description

I receive the following error message when I install the package and run the install command:

  Class "Symfony\Component\Yaml\Yaml" not found

  at vendor/laravel/roster/src/Scanners/PnpmPackageLock.php:26
     22▕         }
     23▕ 
     24▕         try {
     25▕             /** @var array<string, mixed> $parsed */
  ➜  26▕             $parsed = Yaml::parse($contents);
     27▕         } catch (\Exception $e) {
     28▕             Log::error('Failed to parse YAML: '.$e->getMessage());
     29▕ 
     30▕             return $mappedItems;

Steps To Reproduce

  1. php artisan boost:install
  2. Select VS Code
  3. Select GitHub Copilot

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions