-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
馃悰 Bug Report: Appwrite CLI throws error when using Nuxt 3 #5685
Comments
i found a solution. i need to put the new Client function in a onBeforeMount Lifecycle Hook. Does anybody has a answer why?
|
Appwrite vite SSR import I would guess that there might be an issue with ssr and appwrite. It would be worth investigating and updating the appwrite template, either way. |
Thanks for raising this issue @davidschubert . @Meldiron is there a way to solve it? |
How do you actually import the Client? |
Hi @davidschubert, could you provide us with more information about this? Nonetheless, we are also having an internal discussion regarding this! |
馃憻 Reproduction steps
Environment
"nuxt": "^3.5.2"
"appwrite": "^11.0.0",
Can't really reproduction the problem. Because you can't install the Appwrite CLI on Stackblitz or Codesandbox.
Appwrite CLI:
https://appwrite.io/docs/command-line
and you need a simple appwrite account and project to init it.
There is a bug in the combination of Nuxt 3 and Appwrite. If you start with a normal Nuxt 3 App and some Appwrite commands. Then everything works fine!
The bug starts when you start to use the Appwrite CLI and use the following command "appwrite init project" and init the project you are working on. After this, the app is not working anymore and gives me always an 500 error.
馃憤 Expected behavior
that everything works fine like before the "appwrite init project".
馃憥 Actual Behavior
The bug starts when you start to use the Appwrite CLI and use the following command "appwrite init project" and init the project you are working on. After this, the app is not working anymore and gives me always an 500 error:
馃幉 Appwrite version
Appwrite Cloud
馃捇 Operating system
MacOS
馃П Your Environment
Local Environment
"nuxt": "^3.5.2"
"appwrite": "^11.0.0",
馃憖 Have you spent some time to check if this issue has been raised before?
馃彚 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: