TypeError: Cannot read properties of undefined (reading 'users')
at serialize (file:///c:/hisoka/src/lib/whatsapp.serialize.js:370:41)
at Client. (file:///c:/hisoka/src/hisoka.js:96:32)
at Client.emit (node:events:513:28)
at Binding. (file:///c:/hisoka/node_modules/whatsapp-web.js/src/Client.js:375:18)
at Binding.run (c:\hisoka\node_modules\puppeteer-core\lib\cjs\puppeteer\common\Binding.js:76:123)
at CDPPage._CDPPage_onBindingCalled (c:\hisoka\node_modules\puppeteer-core\lib\cjs\puppeteer\common\Page.js:939:70)
at c:\hisoka\node_modules\puppeteer-core\lib\cjs\puppeteer\common\Page.js:180:100
at c:\hisoka\node_modules\puppeteer-core\lib\cjs\third_party\mitt\index.js:3:248
at Array.map ()
at Object.emit (c:\hisoka\node_modules\puppeteer-core\lib\cjs\third_party\mitt\index.js:3:232)
at CDPSessionImpl.emit (c:\hisoka\node_modules\puppeteer-core\lib\cjs\puppeteer\common\EventEmitter.js:87:22)
at CDPSessionImpl._onMessage (c:\hisoka\node_modules\puppeteer-core\lib\cjs\puppeteer\common\Connection.js:441:18)
at Connection.onMessage (c:\hisoka\node_modules\puppeteer-core\lib\cjs\puppeteer\common\Connection.js:269:25)
at WebSocket. (c:\hisoka\node_modules\puppeteer-core\lib\cjs\puppeteer\common\NodeWebSocketTransport.js:62:32)
at callListener (c:\hisoka\node_modules\ws\lib\event-target.js:290:14)
at WebSocket.onMessage (c:\hisoka\node_modules\ws\lib\event-target.js:209:9) Promise {
TypeError: Cannot read properties of undefined (reading 'users')
at serialize (file:///c:/hisoka/src/lib/whatsapp.serialize.js:370:41)
at Client. (file:///c:/hisoka/src/hisoka.js:96:32)
at Client.emit (node:events:513:28)
at Binding. (file:///c:/hisoka/node_modules/whatsapp-web.js/src/Client.js:375:18)
at Binding.run (c:\hisoka\node_modules\puppeteer-core\lib\cjs\puppeteer\common\Binding.js:76:123)
at CDPPage._CDPPage_onBindingCalled (c:\hisoka\node_modules\puppeteer-core\lib\cjs\puppeteer\common\Page.js:939:70)
at c:\hisoka\node_modules\puppeteer-core\lib\cjs\puppeteer\common\Page.js:180:100
at c:\hisoka\node_modules\puppeteer-core\lib\cjs\third_party\mitt\index.js:3:248
at Array.map ()
at Object.emit (c:\hisoka\node_modules\puppeteer-core\lib\cjs\third_party\mitt\index.js:3:232)
at CDPSessionImpl.emit (c:\hisoka\node_modules\puppeteer-core\lib\cjs\puppeteer\common\EventEmitter.js:87:22)
at CDPSessionImpl._onMessage (c:\hisoka\node_modules\puppeteer-core\lib\cjs\puppeteer\common\Connection.js:441:18)
at Connection.onMessage (c:\hisoka\node_modules\puppeteer-core\lib\cjs\puppeteer\common\Connection.js:269:25)
at WebSocket. (c:\hisoka\node_modules\puppeteer-core\lib\cjs\puppeteer\common\NodeWebSocketTransport.js:62:32)
at callListener (c:\hisoka\node_modules\ws\lib\event-target.js:290:14)
at WebSocket.onMessage (c:\hisoka\node_modules\ws\lib\event-target.js:209:9)
}
TypeError: Cannot read properties of undefined (reading 'users') at serialize (file:///c:/hisoka/src/lib/whatsapp.serialize.js:370:41) at Client. (file:///c:/hisoka/src/hisoka.js:96:32)
at Client.emit (node:events:513:28)
at Binding. (file:///c:/hisoka/node_modules/whatsapp-web.js/src/Client.js:375:18)
at Binding.run (c:\hisoka\node_modules\puppeteer-core\lib\cjs\puppeteer\common\Binding.js:76:123)
at CDPPage._CDPPage_onBindingCalled (c:\hisoka\node_modules\puppeteer-core\lib\cjs\puppeteer\common\Page.js:939:70)
at c:\hisoka\node_modules\puppeteer-core\lib\cjs\puppeteer\common\Page.js:180:100
at c:\hisoka\node_modules\puppeteer-core\lib\cjs\third_party\mitt\index.js:3:248
at Array.map ()
at Object.emit (c:\hisoka\node_modules\puppeteer-core\lib\cjs\third_party\mitt\index.js:3:232)
at CDPSessionImpl.emit (c:\hisoka\node_modules\puppeteer-core\lib\cjs\puppeteer\common\EventEmitter.js:87:22)
at CDPSessionImpl._onMessage (c:\hisoka\node_modules\puppeteer-core\lib\cjs\puppeteer\common\Connection.js:441:18)
at Connection.onMessage (c:\hisoka\node_modules\puppeteer-core\lib\cjs\puppeteer\common\Connection.js:269:25)
at WebSocket. (c:\hisoka\node_modules\puppeteer-core\lib\cjs\puppeteer\common\NodeWebSocketTransport.js:62:32)
at callListener (c:\hisoka\node_modules\ws\lib\event-target.js:290:14)
at WebSocket.onMessage (c:\hisoka\node_modules\ws\lib\event-target.js:209:9) Promise {