๐ Bug Report: Server Error when runing appwrite init project
FatahChan opened this issue ยท 2 comments
FatahChan commented
๐ Reproduction steps
- run
appwrite login
- enter email and password
- run
appwrite init project
- select defaults
๐ Expected behavior
Project initiated
๐ Actual Behavior
Server Error
๐ฒ Appwrite version
Appwrite Cloud
๐ป Operating system
Windows
๐งฑ Your Environment
appwrite-cli: 5.0.5
๐ Have you spent some time to check if this issue has been raised before?
- I checked and didn't find similar issue
๐ข Have you read the Code of Conduct?
- I have read the Code of Conduct
FatahChan commented
running with --verbose returns
AppwriteException [Error]: Server Error
at Client.call (C:\Users\Storm\AppData\Roaming\nvm\v22.2.0\node_modules\appwrite-cli\lib\client.js:197:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async teamsCreate (C:\Users\Storm\AppData\Roaming\nvm\v22.2.0\node_modules\appwrite-cli\lib\commands\teams.js:107:16)
at async initProject (C:\Users\Storm\AppData\Roaming\nvm\v22.2.0\node_modules\appwrite-cli\lib\commands\init.js:33:20) {
code: 500,
response: 'general_unknown'
}
โ Error Server Error
FatahChan commented
It seems like the issue was this line in ./lib/sdks:49
Removing the line .setProject("console")
Fixed the issue, also seems very confusing that teams === organization
I might do a pull request later on