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
- Any way to temporarily bypass the email ...
Hey guys, any way to bypass the email verification to use the accounts again? i need to recover some projects that due to recent changes have been stopped, and ...
- How to use Sites on selfhosted appwrite
whenever I try to create a site even with template it says 404 nginx error
- How to send Webhooks to internal network
When saving the URL for sending Webhooks, Appwrite checks if it's a valid external domain name so entering internal IP address or docker hostnames won't save th...