Getting 500 error netlify-lambda function

I am running my node js project and I want it to deploy it on netlify server. So, I am using lambda-function for deployment and after nun the command “npm start” it will start listening server 9000 but then it will throw an error with 500 response code and the error is like:
Request from ::1: GET /.netlify/functions/app
Response with status 500 in 70 ms.
Error during invocation: Error: Cannot find module ‘/…/…/…/…/common/config/AppConfiguration’
at n (C:\Users\AmarParshuramParihar
please find the screenshot attached below:

Netlify Functions cannot read files from your project, unless you include them yourself:

You could use esbuild which will automatically take care of module imports for you by adding

[functions]
  node_bundler = "esbuild"

to your netlify.toml file

@hrishikesh I tried the solution you have provided but it is not working in my case. So, could you please check why it is not working?
I am sharing screenshot of toml file and the project directory please find it attached below:

To add the current folder to your Function, the syntax is: ['./**'], but that’s not what you should be doing. You can’t bundle your Node Modules folder.

Just bundle the common directory.