I have written a function (DART) and it won't deploy. Here is what I get : 2026-03-14T17:09:41.459693680Z Compiling ... 2026-03-14T17:09:42.915619217Z ../build/lib/main.dart:14:3: Error: 'TablesDB' isn't a type. 2026-03-14T17:09:42.915658150Z TablesDB tablesDB = TablesDB(client); 2026-03-14T17:09:42.915662412Z ^^^^^^^^ 2026-03-14T17:09:42.915666286Z ../build/lib/main.dart:14:23: Error: Method not found: 'TablesDB'. 2026-03-14T17:09:42.915669114Z TablesDB tablesDB = TablesDB(client); 2026-03-14T17:09:42.915673757Z ^^^^^^^^ 2026-03-14T17:09:42.915712899Z Error: AOT compilation failed 2026-03-14T17:09:42.915717369Z Bad state: Generating AOT kernel dill failed!
Anyone has an idea why it won't work ?
Recommended threads
- Local appwrite run functions --user-id n...
Hi, I'm running into an issue when testing Appwrite functions locally with user impersonation. I'm using a self-hosted Appwrite instance and running functions ...
- Function domain not available
Hello, even tho in docs you clearly describe that every function has its domain, I can not see it anywhere in any of my projects. How do I reveal the url of th...
- Inquiry: How to Reduce Cold Start Durati...
Hey! I was using Python for the function runtime, but after reading that Go has the fastest runtime, I switched my code over to Go. However, I'm still seeing co...