I am trying to use appwrite functions and in the function i am creating rows but i got this error when i executed the funtion.
As i checked docs there TablesDB is valid.
TL;DR
Error message "SyntaxError: The requested module 'node-appwrite' does not provide an export named 'TablesDB'" was resolved by upgrading node-appwrite from version 14.1.0 to 21.1.0, which fixed the issue with exports. Make sure to check the node.js version and upgrade both node.js and node-appwrite to the latest versions for compatibility.