Hola equipo de soporte,
Estoy desarrollando una Function en Appwrite Cloud con Node.js 22 y el siguiente package.json:
{ "name": "upload-whitelist", "type": "module", "dependencies": { "node-appwrite": "^13.0.0" }} Mi código usa:
import * as sdk from 'node-appwrite';const inputFile = sdk.InputFile.fromBuffer(buffer, fileName); pero siempre obtengo este error al ejecutar la Function:
TypeError: Cannot read properties of undefined (reading 'fromBuffer') He verificado que:
El runtime es Node.js 22. El ZIP solo contiene index.js y package.json. Todas las variables de entorno (APPWRITE_ENDPOINT, APPWRITE_PROJECT_ID, APPWRITE_API_KEY, etc.) están bien configuradas. El endpoint es https://fra.cloud.appwrite.io/v1 y el Project ID es correcto. ¿Pueden ayudarme a forzar la instalación de la versión correcta del SDK o revisar el entorno? ¿Hay alguna limitación conocida en Appwrite Cloud respecto a este método?
¡Gracias!
Recommended threads
- Any way to temporarily bypass the email ...
Hey guys, any way to bypass the email verification to use the accounts again? i need to recover some projects that due to recent changes have been stopped, and ...
- Create a new paid tier
Current pricing seems reasonable enough about what is someone getting for 25$. But for some people most of these resouces are getting wasted. Like the bandwidt...
- [Bug] Appwrite Auth User Prefs
User prefs are decoded as blank although there are plenty of data and add preference button not working in this case