appwrite
appwrite copied to clipboard
🐛 Bug Report: Server Error
👟 Reproduction steps
Running appwrite functions create --function-id inactiveGames --name inactiveGames --runtime node-16.0
👍 Expected behavior
It should deplay a new function
👎 Actual Behavior
CLI Error:
Error: Server Error
at Client.call (/opt/homebrew/lib/node_modules/appwrite-cli/lib/client.js:214:13)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async functionsCreate (/opt/homebrew/lib/node_modules/appwrite-cli/lib/commands/functions.js:176:16)
🎲 Appwrite version
Selfhosted 1.7.4
💻 Operating system
Linux
🧱 Your Environment
CLI version: 7.0.0 Operation System: Darwin Appwrite version: 1.7.4 Is Cloud: No
👀 Have you spent some time to check if this issue has been raised before?
- [x] I checked and didn't find similar issue
🏢 Have you read the Code of Conduct?
- [x] I have read the Code of Conduct
The issue does not occur with the node-18.0 runtime. I used the following command:
appwrite functions create \
--function-id inactiveGames \
--name inactiveGames \
--runtime node-18.0
And it successfully created the function with the following details:
$id: inactiveGames
$createdAt: 2025-06-08T22:36:05.130+00:00
$updatedAt: 2025-06-08T22:36:05.155+00:00
execute: []
name: inactiveGames
enabled: true
live: true
logging: true
runtime: node-18.0
deploymentId:
deploymentCreatedAt:
latestDeploymentId:
latestDeploymentCreatedAt:
latestDeploymentStatus:
scopes: []
vars: []
events: []
schedule:
timeout: 15
entrypoint:
commands:
version: v5
installationId:
providerRepositoryId:
providerBranch:
providerRootDirectory:
providerSilentMode: false
specification: s-1vcpu-512mb