-
Notifications
You must be signed in to change notification settings - Fork 397
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot install blt in existing project due to Class 'Symfony\Component\Debug\Exception\FatalThrowableError' not found #2378
Comments
It's pretty tricky to debug adding BLT to existing projects, because your existing project could have just about anything going on to conflict with BLT's project template. You might have to dig into this yourself and see why that class can't be found. One suspicious item is this section in your composer.json:
If that's messing with Composer's autoloading, it seems like that could prevent it from finding this library. Consolidation/Robo just had a new release a day or two ago, it's possible that's related, although I think it would show up in our tests. |
The error strangely occurs even on a totally empty project, and even with blt 9. Composer version 1.5.5 2017-12-01 14:42:57 composer.json:
When executing
|
I actually noticed this issue earlier this week. It does not occur on the 9.1.x branch, which leads me to believe that it's root cause is related to the version constraints for Symfony. Can you try 9.1.x-dev ? |
Resolved by #2394. |
I just tried 9.1.x-dev and is not working. I tried 8.9.12 and I got the same error:
|
I wanted to add blt in a project I currently develop locally based on drupal-composer/drupal-project and opensocial. When trying to add blt via instructions from the documentation this fails.
My composer.json right now:
My system information:
Output of
blt doctor
:When I run this command:
I get the following output:
And I expected this to happen: blt installed via composer 😉
The text was updated successfully, but these errors were encountered: