Bendix BehnOriginal post
Rank 1: Thread
With v.1.4.2 the building of dart functions doesnt work anymore. I always get the following error message in the logs:
Info: Compiling with sound null safety.
src/server.dart:115:25: Error: Method not found: 'main'.
user_code.main(context)
^^^^
src/server.dart:125:38: Error: Method not found: 'main'.
output = await user_code.main(context);
^^^^
Error: AOT compilation failed
Generating AOT kernel dill failed!
Summary
User encountered an error "Method not found: 'main'" when trying to build dart functions with version 1.4.2. The suggested solution is to upgrade to the latest version (4.0.0) of appwrite-cli by running "npm install -g appwrite-cli" and try again.
Great