Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Bug Report: Server Error when runing appwrite init project #132

Open
2 tasks done
FatahChan opened this issue Jun 28, 2024 · 2 comments
Open
2 tasks done

🐛 Bug Report: Server Error when runing appwrite init project #132

FatahChan opened this issue Jun 28, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@FatahChan
Copy link

👟 Reproduction steps

  1. run appwrite login
  2. enter email and password
  3. run appwrite init project
  4. 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?

@FatahChan FatahChan added the bug Something isn't working label Jun 28, 2024
@FatahChan
Copy link
Author

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant