Docker Error: mv: cannot stat "/usr/code/'main.dart'": No such file or directory
Please do this: https://appwrite.io/docs/functions#gettingStarted
I do everything on this dock
Docker Error: mv: cannot stat "/usr/code/'main.dart'": No such file or directory
Did you run this?
appwrite init function
appwrite deploy function
yes
what is this error?
Docker Error: mv: cannot stat "/usr/code/'main.dart'": No such file or directory
What happened when you ran these?
The code wasn't added to the tar correctly
Or maybe the single quotes were a problem
this problem
Please share the output of running these commands
C:\Users\notik\IdeaProjects\starter>appwrite init function ? What would you like to name your function? gooh ? What ID would you like to have for your function? unique() ? What runtime would you like to use? Dart (dart-2.17) ✓ Success
C:\Users\notik\IdeaProjects\starter>appwrite deploy function ? Which functions would you like to deploy? ✓ Success Deployed 0 functions
You didn't deploy any function. Select the gooh function to deploy
thank you very much, I finally understood what and how
everything is very confusing and broken GUI
whoever invented it can write quests and earn a lot of money from it
Are you referring to the functions deployment or is there something else?
yes deployment functions
Thanks for the feedback. All of it is going to change in 1.4 so hopefully it's smoother then
Docker Error: Info: Compiling with sound null safety server.dart:37:27: Error: Method not found: 'start'. await user_code.start(request, response); ^^^^^ Error: AOT compilation failed
If you're still having trouble after reading the thread, please create a new post
[SOLVED] Error Deployments
Recommended threads
- TablesDB can't be used in Appwrite Funct...
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...
- 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 ...
- Impossible to get USER after createEmail...
Am using provider to deal with functions linked to appwrite. Here is my login. Future<String?> login(String email, String password) async { try { aw...