Yeah @Drake https://github.com/appwrite/sdk-for-node/blob/master/lib/services/users.js looks like updateLabels is missing in the node-sdk
On that note -- the createExecution is also wrong for node-appwrite
And what's wrong with create execution? https://github.com/appwrite/sdk-for-node/blob/1390e2dea2d22b3b8944e72111bd1c1b49a3d8aa/lib/services/functions.js#L743
huh, my Appwrite maybe is using the wrong version? I can’t tell, I’ll need to check, but when using Bun runtime it seems to into the client SDK, or something I don’t quite understand yet, because users.updateLabels in my Bun SDK was erroring, but in Python it’s fine
My createExecution in Bun was doing the same, maybe I need to update Appwrite CLI again
Appwrite CLI is unrelated. Look in your package.json or lock file or node_modules
I was using ^11 on Bun, but anything higher wouldn’t install, I’m p sure there’s a 13 now yeah?
I’ll check when I get home, I just know bun wouldn’t go past ^11
newest version is 11.0.0
Huh then either my node Appwrite is broken or the Bun SDK is messing up, if you init a function is it the same for you? (You can tell by doing bun install and checking createExecution or updateLabels)
The SDK from that starter template could very well be outdated
Yeah what's weird is I updated it
and it still is telling me no function updateLabels
Locally or after deploying?
after deploying
so your package-lock.json and package.json have the updated version?
I'll check
Hi! the same happens to me
you know what, intellisense is not finding updateLabels, but once deployed it works normally
I was not having the same experience in my Bun Appwrite functions
I am newbie here, I also deployed with bun runtime, did it work for you?
It didn’t for me, I ended up just switching it to Python
I share my file, maybe you can find some differences against yours
Have you tried deleting your bun install cache and reinstalling dependencies? Or reindexing?
Recommended threads
- Send Email Verification With REST
I am using REST to create a user on the server side after receiving form data from the client. After the account is successfully created i wanted to send the v...
- Use different email hosts for different ...
Hello, I have 2 projects and i want to be able to set up email templates in the projects. Both projects will have different email host configurations. I see ...
- Migrate from cloud to localhost
Hello everyone. I need to migrate my test project from cloud to localhost, however it seems that this is possible only if a self-hosted appwrite instance it's h...