antonioribeiro / antonioribeiro/version
Class 'Symfony\Component\Yaml\Parser' not found
- Dominant language
- PHP
- Stars
- 592
- Forks
- 110
- PR merge metrics
- No merged PRs in 30d
Description
Ran `composer require pragmarx/version`, then `php artisan vendor:publish --provider="PragmaRX\Version\Package\ServiceProvider"`.
Then when I refresh my app, I get the error
> Class 'Symfony\Component\Yaml\Parser' not found
This is within a Homestead environment using:
- Laravel 8.18.1
- PHP 7.4.10
- Composer 2.0.12
I tried installing Symfony, but it keeps erroring out and it appears that Symfony is already installed though. `composer require symfony/yaml`
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the failure in the stated Homestead environment after running `composer require pragmarx/version` and the vendor publish command. Start by checking the installed dependency versions and why `Symfony\Component\Yaml\Parser` is unavailable; done means the package installs and refreshing the Laravel app no longer raises the missing-class error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- laravel, php, symfony
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100