diff --git a/FAQ.md b/FAQ.md index 20115e38..c7c599bc 100644 --- a/FAQ.md +++ b/FAQ.md @@ -11,3 +11,13 @@ However, there is [an exception](<(https://www.chromestatus.com/feature/50881473 This should not be an issue in production, because your application will be running over `https` To resolve this, you should [run your local development server over https](https://auth0.com/docs/libraries/secure-local-development). + +## Login calls are failing with 'RequestError: The "listener" argument must be of type function. Received an instance of Object' + +This module depends indirectly on a newer version of the `agent-base` module. If an unrelated module is depends on a version of the `agent-base` older than 5.0, that older dependency is monkeypatching the gobal `http.request` object, causing this this module to fail. You can check if you have this problem by running this check: + +``` +npm list agent-base +``` + +The solution is to upgrade the other dependencies which depend on `agent-base` to at least versiono 5 to resovle the issue.