Moderator
Yeah @Drake https://github.com/appwrite/sdk-for-node/blob/master/lib/services/users.js looks like updateLabels is missing in the node-sdk
Votes
0
Replies
24
Participants
Unknown
Messages
25
Moderator
Yeah @Drake https://github.com/appwrite/sdk-for-node/blob/master/lib/services/users.js looks like updateLabels is missing in the node-sdk
Moderator
On that note -- the createExecution is also wrong for node-appwrite
Admin
Admin
And what's wrong with create execution? https://github.com/appwrite/sdk-for-node/blob/1390e2dea2d22b3b8944e72111bd1c1b49a3d8aa/lib/services/functions.js#L743
Moderator
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
Moderator
My createExecution in Bun was doing the same, maybe I need to update Appwrite CLI again
Admin
Appwrite CLI is unrelated. Look in your package.json or lock file or node_modules
Moderator
I was using ^11 on Bun, but anything higher wouldn’t install, I’m p sure there’s a 13 now yeah?
Moderator
I’ll check when I get home, I just know bun wouldn’t go past ^11
Admin
newest version is 11.0.0
Moderator
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)
Admin
The SDK from that starter template could very well be outdated
Moderator
Yeah what's weird is I updated it
Moderator
and it still is telling me no function updateLabels
Admin
Locally or after deploying?
Moderator
after deploying
Admin
so your package-lock.json and package.json have the updated version?
Moderator
I'll check
Hi! the same happens to me
you know what, intellisense is not finding updateLabels, but once deployed it works normally
Moderator
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?
Moderator
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
Admin
Have you tried deleting your bun install cache and reinstalling dependencies? Or reindexing?