Why do I get '(intermediate value).default is not a function' while executing my Node.js function?
This error occurs when your Catalyst Serverless Node.js function doesn’t export its code. To rectify this issue, you must export the code in your function to expose it. Ensure that you have added module.exports={module_variable_name} inside of your Node.js function.
Updated
Yes
No
Send your feedback to us
Skip
Submit
Ask AI about this answer