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
- I'm getting an error on the console "j?....
On my self hosted instance version 1.8.1 the console is giving me this error when trying to view the rows for a table I recently created. My application is read...
- local build `composer installer:dev` iss...
setup - dev container (default linux universal) WSL (test with gh codespace too) - php 8.5.7 - all extensions installed - `composer install` fine - `composer...
- Function global variables
when i create a top-level global variable in go or bun how will it behave? is the heap getting renewed on every execution or could i do some kind of temp. cachi...