
i commented the appwrite part out. now the problem is maybe gone.

weird

did you ever used appwrite in combination with nuxt 3?

and would you recommend to npm install appwrite

or would you "npm install nuxt-appwrite"?

my problem with "nuxt-appwrite" was that i couldn't install the appwrite cli and do the following steps: appwrite init project appwrite init function appwrite deploy function

Yes

You can see also hete an example of project


omg! the problem is back

What is the output it here

everytime when i use the appwrite cli with the following commands:
appwrite init project appwrite init function appwrite deploy function

What's error you're getting?


weird isn't it?

so i only get problems when i want to use appwrite functions

I think I'm lost a bit. Are you deploying nuxt into Appwrite function?

nope

you know what

i just realized that the nuxt demo is the only one where the Server Side Login and Refresh doesn't work. In all demos it's working. Only Nuxt not:

i need to go to bed. i'm gonna check tomorrow my code again

@Meldiron is there a bug?

Good question 🙂

i found a solution. i need to put the new Client function in a onBeforeMount Lifecycle Hook. Does anybody has a answer why?
onBeforeMount(() => {
client.value = new Client();
client.value
.setEndpoint("https://cloud.appwrite.io/v1")
.setProject("***");
account.value = new Account(client.value);
});

Seems like. Ill make myself note to check it
Recommended threads
- File tokens regenerate each page reload
Hello, on appwrite 1.7.4, when I create a file token via the API Tokens(appwriteAdminClient)#createFileToken I get a secret, then when I check in the console t...
- CSV Import Shows Success but Data Not Ap...
I tried importing a CSV file into my PRODUCTS collection. The dashboard shows the message “Import to PRODUCTS completed successfully,” but no data appears in th...
- [FEATURE] Better usage analytics for app...
Recently, i've gotten **73** emails from appwrite regarding excesive GBHours usage. I've almost hit the limit of 1000 and it is really hard to track down which ...
