I have tried to import mongodb into my lambda function and I keep getting an error message when I attempt to test it. All the recommended resolutions I have seen assume I am working in an environment where I can just add a package.json to my root directory, without telling me where the root directory is!
I have tried resolution recommendations I have seen in Diagnose with Amazon Q. I have tried everything I have come across on google AI. I have attempted to create an instance, which I was successfully able to install mongodb, which didn't resolve anything!