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
- User ID case sensitivity
I see that through REST (and SDK as well), getting a user is not case sensitive. And even though documentation does not clearly state that it is, the wording "V...
- Any way to temporarily bypass the email ...
Hey guys, any way to bypass the email verification to use the accounts again? i need to recover some projects that due to recent changes have been stopped, and ...
- How to use Sites on selfhosted appwrite
whenever I try to create a site even with template it says 404 nginx error