Back

[Solved] Trying to make a dart function, and receive this error

  • 0
  • Functions
  • Cloud
efe
20 Jul, 2023, 03:48
TypeScript
server.dart:37:27: Error: Method not found: 'start'.
          await user_code.start(request, response);
                          ^^^^^
Error: AOT compilation failed
Generating AOT kernel dill failed!
TL;DR
The user had an error while trying to create a Dart function. They realized they missed a step when reading the documentation and fixed the issue. There is no further information about code initialization or deployment.
Drake
20 Jul, 2023, 05:12

how did you inititalize your code? how did you deploy it?

efe
20 Jul, 2023, 05:24

I just read again the docs, and I noticed that I had skiped 1 step... I don't create a "Future" with "start" name

efe
20 Jul, 2023, 05:25

now it worked

efe
20 Jul, 2023, 05:57

[Solved] Trying to make a dart function, and receive this error

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more