# Localstack + aws nodejs typescript Auth0 managment import error

**URL:** <https://community.auth0.com/t/localstack-aws-nodejs-typescript-auth0-managment-import-error/104160>\
**Category:** Get Help\
**Tags:** organizations-management-api, management-api\
**Created:** [April 5, 2023, 10:36am UTC](https://community.auth0.com/t/localstack-aws-nodejs-typescript-auth0-managment-import-error/104160 "2023-04-05T10:36:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rallaverdyan](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@rallaverdyan](https://community.auth0.com/u/rallaverdyan)\
**Post date:** [April 5, 2023, 10:36am UTC](https://community.auth0.com/t/localstack-aws-nodejs-typescript-auth0-managment-import-error/104160/1 "2023-04-05T10:36:32Z")

</div>

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’

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [April 6, 2023, 8:15pm UTC](https://community.auth0.com/t/localstack-aws-nodejs-typescript-auth0-managment-import-error/104160/3 "2023-04-06T20:15:05Z")

</div>

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?

> <https://stackoverflow.com/questions/30678348/aws-lambda-cannot-find-module>

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [August 23, 2023, 2:48pm UTC](https://community.auth0.com/t/localstack-aws-nodejs-typescript-auth0-managment-import-error/104160/4 "2023-08-23T14:48:43Z")

</div>

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