Skip to content
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

Service not found Exception #24

Open
khastick opened this issue Feb 15, 2022 · 4 comments
Open

Service not found Exception #24

khastick opened this issue Feb 15, 2022 · 4 comments

Comments

@khastick
Copy link

After running composer require drupal/wxt_bootstrap and installing and setting to default WxT Bootstrap 8.x-6.1 theme I receive the following error:

Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "wxt_library.service_wxt". in Drupal\Component\DependencyInjection\Container->get() (line 156 of core/lib/Drupal/Component/DependencyInjection/Container.php).

I tried to run composer require drupal/wxt_library and received the following error:

Problem 1
- Root composer.json requires drupal/wxt_library ^6.0 -> satisfiable by drupal/wxt_library[6.0.0].
- drupal/wxt_library 6.0.0 requires wet-boew/wet-boew 4.0.43.1 -> could not be found in any version, there may be a typo in the package name.

@jlcharette
Copy link

Same problem here, installed wxt_bootstrap via composer. Tried to install wxt_library and got the following.

image

@zachomedia
Copy link
Contributor

Hello @khastick / @jlcharette: quick question - in your composer.json file, do you use the https://github.com/drupalwxt/composer-extdeps composer repository or do you have explicit entries for the wet-boew package?

@jlcharette
Copy link

jlcharette commented Jul 22, 2022

@zachomedia I did not add any kind of manual entries in the composer file. Simply started by installing wxt_bootstrap with composer require drupal/wxt_bootstrap then ran the same command for drupal/wxt_library.

After adding the https://github.com/drupalwxt/composer-extdeps to my composer file, I was able to install the dependencies. Maybe updating the installation section in the readme would help understand that this manual step is required before installing wxt_library.

Thank you for the help.

@zachomedia
Copy link
Contributor

@jlcharette Great, glad that worked. I agree, I'll get a note added to installation section in the readme.

@khastick Let me know if adding the repository also fixes the issue for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants