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
- How to use dart workspaces to deploy a f...
Hello, I'm developing a Flutter application and I would like to leverage dart pub workspaces to deploy a function with a dart runtime as advertised here : http...
- [SOLVED] Unable to push function from AP...
When trying to push functions from Gitlab CI (with an API KEY and using the CLI), i saw that i was unable to push functions. ``` $ appwrite client --endpoint $...
- Appwrite Functions not executing with a ...
I have multiple functions running with a CRON Job however, they all stopped executing around 35 mins ago from this post. Project ID:6a4a03920012bede992d Region:...