Suiii
The same function get deployed on seft hosted server is functioning okay. but when I try to deploy to cloud appwrite function. it shows like this
TypeScript
TypeError: userFunction.default is not a function
at execute (/usr/local/server/src/server.js:157:48)
at async action (/usr/local/server/src/server.js:174:13)
at async /usr/local/server/src/server.js:10:9
TL;DR
Developers are experiencing a TypeError issue with their cloud function on Cloud. The same function works on a self-hosted server. The error message mentions "TypeError: userFunction.default is not a function". Evdog
When did it start failing? What runtime?
Recommended threads
- Cant configure email templates
i configure it on the console, and when i send the OTP, it sends with appwrite's email (instead of custom smtp) and with the branding, but i have the Pro (educa...
- Need help with createExecution function
Hi, Need some help understanding createExecution. When requesting function execution via createExecution, the function handler arguments are incorrect and rese...
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?