Skip to content
Back

appwrite push collection fails

  • 0
  • Self Hosted
  • Tools
  • Web
Suiii
19 Dec, 2024, 06:50
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.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more