You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @manikandan10ardhas, it looks like an issue with your specific configuration. I've also noticed sam-local - are you using SAM or Serverless Framework?
I have uploaded the serverless lambda function code.
While try to run API endpoint its return the error.
"errorType":"Runtime.ImportModuleError","errorMessage":"Error: Cannot find module 'api'\nRequire stack:\n- /var/runtime/UserFunction.js\n- /var/runtime/index.js
Find the project structure. How to solve this issue?
The text was updated successfully, but these errors were encountered: