2025-08-08T10:57:38.692443793Z Compiling ... 2025-08-08T10:57:39.652983250Z src/server.dart:6:8: Error: Error when reading '../build/lib/main.dart': No such file or directory 2025-08-08T10:57:39.653042950Z import 'package:open_runtimes_dart_function/main.dart' as user_code; 2025-08-08T10:57:39.653048818Z ^ 2025-08-08T10:57:39.653052760Z src/server.dart:133:23: Error: Method not found: 'main'. 2025-08-08T10:57:39.653057050Z user_code.main(context), 2025-08-08T10:57:39.653061387Z ^^^^ 2025-08-08T10:57:39.653065150Z src/server.dart:143:36: Error: Method not found: 'main'. 2025-08-08T10:57:39.653069403Z output = await user_code.main(context); 2025-08-08T10:57:39.653073268Z ^^^^ 2025-08-08T10:57:39.656043237Z Error: AOT compilation failed 2025-08-08T10:57:39.656217045Z Bad state: Generating AOT kernel dill failed! 2025-08-08T10:57:44.000000000Z Build archive was not created.
If I run it locally, it works fine
Recommended threads
- Flutter OAuth2 webAuth Bug?
I created with flutter an app where I can login in with my Microsoft Account. When I compile it to Web (WASM) or Android (aab) then there is no problem what so ...
- Synchronous Function Execution Timed Out...
Hi Appwrite team 👋 I’m facing a synchronous function execution timeout issue on Appwrite Cloud and would appreciate some guidance. I executed this function u...
- Push Notification FCM Error
Hello dear people. I tried to integrate Push Notifications into my Flutter App. Everything works fine on Android/iOS Simulator + Testflight but as soon as I s...