TypeScript
? Are you sure you want to apply these changes? (YES/NO) YES
TypeError: Cannot read properties of undefined (reading 'filter')
at attributesToCreate (C:\Users\dev\AppData\Roaming\npm\node_modules\appwrite-cli\lib\commands\push.js:792:36)
at pushCollection (C:\Users\dev\AppData\Roaming\npm\node_modules\appwrite-cli\lib\commands\push.js:1414:29)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async pushResources (C:\Users\dev\AppData\Roaming\npm\node_modules\appwrite-cli\lib\commands\push.js:914:13)
Cli: 6.1.0 appwrite: :1.6.0
TL;DR
Appwrite push collection is failing due to a TypeError. The error is caused by trying to read properties of 'undefined'. The issue is located at line 792 in the 'push.js' file. Updating the Appwrite-cli to version 6.1.0 may resolve the problem.Recommended threads
- User ID case sensitivity
I see that through REST (and SDK as well), getting a user is not case sensitive. And even though documentation does not clearly state that it is, the wording "V...
- 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 ...
- How to use Sites on selfhosted appwrite
whenever I try to create a site even with template it says 404 nginx error