-
Notifications
You must be signed in to change notification settings - Fork 317
Closed
Labels
Description
Describe the problem
When running my nodejs serverless application that uses anything from auth0, I get the following error:
TypeError: hexoid is not a function
at Object.../../formidable/src/Formidable.js (/***/***/***/project-name/.webpack/service/handlers/auth0-file.js:111306:18)
What was the expected behavior?
The application should not throw an error and accessing the features of auth0 package should be accessed without a problem.
Reproduction
yarn add auth0 @types/auth0yarn start- Request the endpoint that uses anything from
auth0
Environment
- Version of this library used: 3.3.0 (also tried previous versions up till 2.2.24)
- Which framework are you using, if applicable: nodejs serverless application (no framework)
- Other modules/plugins/libraries that might be involved: the issue seems to be coming from Formidable and Superagent which auth0 depends on (I'm not using them myself)
- Any other relevant information you think would be useful:
It's worth mentioning these versions that I'm using: @types/auth0: 3.3.0serverless: 2.66.0serverless-bundle: 5.0.2serverless-offline: 8.2.0aws-sdk: 2.684.0nodejstried all these versions but the error didn't go away (14.19.0, 16.17.0, 18.12.0)