I deployed my function with deno 2.0
when i hit execute i get the following error "TypeError: Cannot read properties of undefined (reading 'constructor') at execute (file:///usr/local/server/src/action.ts:170:38) at async action (file:///usr/local/server/src/action.ts:191:7) at async file:///usr/local/server/src/server.ts:19:5 at async dispatch (https://deno.land/x/oak@v17.0.0/middleware.ts:90:7) at async Application.#handleRequest (https://deno.land/x/oak@v17.0.0/application.ts:605:9)"
But when input my command i run deno locally with it works with "deno run --allow-net --allow-env --env-file index.ts" If i put this as build command for my deno environment i can see it also working during the building process but what is happening when i click execute? There must be something im missing.
Recommended threads
- [SOLVED] curl error Number: 6 — function...
Hello, I invested a lot of time in this error in a fresh install of appwrite 1.8.1 and lasted until fix, this if for helping anyone that can have the same weird...
- general_bad_request when creating accoun...
I have created a new bug request, could anyone have a look - https://github.com/appwrite/appwrite/issues/11908?
- Cannot use custom SMTP for messaging (SM...
Hey there! I'm on Appwrite Self-hosted 1.9.0. I've never used the messaging feature before, always sent emails through functions or a custom backend, but I'v...