Back

[CLOSED] Error when deploying function from CLI: param "runtime" is not optional

  • 0
  • Functions
AmstruP
5 Sep, 2023, 21:24

Hi support I have just reinstalled appwrite and now I am expecting an error when deploying a dart function. The error code from the CLI is "Error Param "runtime" is not optional. I have created the function with appwrite init function and afterwards tryed to deploy.

TL;DR
User receives an error when trying to deploy a function from the CLI stating that "param 'runtime' is not optional." User tried to find a related post and also encountered a "404 - page not found" error when trying to connect to GitHub. The solution is pending release according to a GitHub issue. When accessing the function settings menu, the "runtime" option is missing. User has reinstalled appwrite and still experiences the error when deploying a Dart function.
AmstruP
5 Sep, 2023, 21:32

When I am inside the console at under the settings menu for the function, the list which should contain "runtime" is empty.

Drake
5 Sep, 2023, 21:33
AmstruP
5 Sep, 2023, 21:36

Thanks Steven. When trying to connect to GitHub I get "404 - page not found". I am not aware if this is also bug or just something wrong from my side.

Drake
5 Sep, 2023, 21:54

please try to find a related <#1072905050399191082> post. if ou're still stuck, please create a new post

Drake
5 Sep, 2023, 21:54

[CLOSED] Error when deploying function from CLI: param "runtime" is not optional

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