简体   繁体   中英

HWIOAuth Bundle Errors

I'm trying to add HWIOAuth to my symfony 3.4 project and everytime I run the command: "composer require hwi/oauth-bundle" I get this error

In FileLoader.php line 168:

There is no extension able to load the configuration for "my.oauth_aware.user_provider.service" (in "C:\wamp64\www\piweb\app/config\services.yml"). Looked for namespace "my.oauth_aware.user_provider.service", found ""fr amework", "security", "twig", "monolog", "swiftmailer", "doctrine", "sensio_framework_extra", "fos_user", "httplug", "hwi_oauth", "debug", "web_profiler", "sensio_distribution", "web_server"" in C:\wamp64\www\piweb\app/ config\services.yml (which is being imported from "C:\wamp64\www\piweb\app/config\config.yml").

In YamlFileLoader.php line 698:

There is no extension able to load the configuration for "my.oauth_aware.user_provider.service" (in "C:\wamp64\www\piweb\app/config\services.yml"). Looked for namespace "my.oauth_aware.user_provider.service", found ""fr amework", "security", "twig", "monolog", "swiftmailer", "doctrine", "sensio_framework_extra", "fos_user", "httplug", "hwi_oauth", "debug", "web_profiler", "sensio_distribution", "web_server"".

Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache handling the symfony-scripts event terminated with an exception

Installation failed, reverting./composer.json to its original content.

Do you already have php-http/guzzle6-adapter and php-http/httplug-bundle installed, or are you attempting to install them at the same time as hwi/oauth-bundle ? Just checking, as it appears that these are required if you're not setting up your own services.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM