Skip to content

Fatal error: Uncaught RuntimeException: Could not detect any PSR-17 ResponseFactory implementations #3

@JimMcKenzieSmith

Description

@JimMcKenzieSmith

Hi Jesse,

Nice work on this. I was trying to run it on my Mac, but getting the follow error. Any ideas? I'm running PHP 8.1.9 if that matters. I Googled a few answers and attempted a version fix in composer.json, but then the redirect to Amazon's authorization page stopped working--so I figured I would just ask you.

Fatal error: Uncaught RuntimeException: Could not detect any PSR-17 ResponseFactory implementations. Please install a supported implementation in order to use AppFactory::create(). See https://github.com/slimphp/Slim/blob/4.x/README.md for a list of supported implementations. in /Users/jim.smith/repos/per/spapi-oauth/vendor/slim/slim/Slim/Factory/AppFactory.php:182 Stack trace: #0 /Users/jim.smith/repos/per/spapi-oauth/vendor/slim/slim/Slim/Factory/AppFactory.php(93): Slim\Factory\AppFactory::determineResponseFactory() #1 /Users/jim.smith/repos/per/spapi-oauth/public/index.php(25): Slim\Factory\AppFactory::create() #2 {main} thrown in /Users/jim.smith/repos/per/spapi-oauth/vendor/slim/slim/Slim/Factory/AppFactory.php on line 182

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions