Localstack + aws nodejs typescript Auth0 managment import error

We are facing an issue during the integration of Auth0 management nodejs module into our nodejs typescript project and bulding via lockalstack lambdas
its not working and returning the error
Error executing Lambda “arn:aws:lambda:us-east-1:000000000000:function:local-organizationsGet”: InvocationException: Lambda process returned error status code: 1. Result: Local domain: “undefined”. Output:
node:internal/modules/cjs/loader:1078
throw err;
^

Error: Cannot find module ‘./management’

Hi @rallaverdyan,

Welcome to the Auth0 Community!

This error appears to indicate that some of, or all of, the module is missing from your serverless function. This is unlikely to be a result of the module, but configuration in the lambda.

Have you looked at this SO post?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.