Hey there! I manage to install a fresh 1.3.7 instance of Appwrite, but I'm getting same error that before.
TL;DR
The user is experiencing a TypeError: teams.updatePrefs is not a function error after installing a fresh 1.3.7 instance of Appwrite. They have followed the installation instructions provided by the responder. The responder suggests checking the version of node-appwrite installed, to which the user confirms that they have installed version 1.3.7. The responder then suggests changing the version to 9.0.0 in the function package.json to resolve the issue.What version of node-appwrite you've installed?
I installed per your instructions:
TypeScript
cd /root/
docker run -it --rm \
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \
--entrypoint="install" \
appwrite/appwrite:1.3.7
cd /root/appwrite/
docker compose exec appwrite migrate
That's good!
I mean in the function package.json
Okay
Try to change it to 9.0.0
Recommended threads
- Function's Static IP
Is it possible to have static. IP Address instead of Dynamic IP for getting the IP Address whitelist
- How to use dart workspaces to deploy a f...
Hello, I'm developing a Flutter application and I would like to leverage dart pub workspaces to deploy a function with a dart runtime as advertised here : http...
- [SOLVED] Unable to push function from AP...
When trying to push functions from Gitlab CI (with an API KEY and using the CLI), i saw that i was unable to push functions. ``` $ appwrite client --endpoint $...