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
- Usage of the new Client() and dealing wi...
Hey guys, just a quick one - we had some web traffic the other day and it ended up bombing out - To put in perspective of how the app works, we have a Nuxt Ap...
- [Beginner] CLI --queries Syntax Error & ...
Hi everyone! I am a beginner with Appwrite and trying to use the CLI, but I'm stuck with a syntax error. Any guidance would be greatly appreciated! 🙏 **Enviro...
- [SOLVED] curl error Number: 6 — function...
Hello, I invested a lot of time in this error in a fresh install of appwrite 1.8.1 and lasted until fix, this if for helping anyone that can have the same weird...