attestate / kiwistand

kiwistand is a p2p node client for a web3 writer friendly Hacker News that nobody controls but everybody co-owns
https://news.kiwistand.com
GNU General Public License v3.0
63 stars 26 forks source link

nodes isn't iterable error #61

Closed TimDaub closed 1 year ago

TimDaub commented 1 year ago

2023-06-05T13:10:55: 2023-06-05T13:10:55.878Z @attestate/kiwistand Received levels and comparing them 2023-06-05T13:10:55: file:///root/kiwistand/src/sync.mjs:139 2023-06-05T13:10:55: for (let node of nodes) { 2023-06-05T13:10:55: ^ 2023-06-05T13:10:55: 2023-06-05T13:10:55: TypeError: nodes is not iterable 2023-06-05T13:10:55: at deserialize (file:///root/kiwistand/src/sync.mjs:139:20) 2023-06-05T13:10:55: at compare (file:///root/kiwistand/src/sync.mjs:275:5) 2023-06-05T13:10:55: at file:///root/kiwistand/src/sync.mjs:310:18 2023-06-05T13:10:55: at file:///root/kiwistand/src/sync.mjs:288:28 2023-06-05T13:10:55: at process.processTicksAndRejections (node:internal/process/task_queues:95:5) 2023-06-05T13:10:55: 2023-06-05T13:10:55: Node.js v19.9.0