canove / whaticket-community

A very simple Ticket System based on WhatsApp messages, that allow multi-users in same WhatsApp account.
MIT License
1.64k stars 830 forks source link

Quem estiver com o problema: Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'default') #486

Closed eduamaral23 closed 1 year ago

eduamaral23 commented 1 year ago

Altere a linha 17 no /backend/node_modules/whatsapp-web.js/src/util/Injected.js de: window.Store.GroupMetadata = window.mR.findModule((module) => module.default && module.default.handlePendingInvite)[0].default;

para: window.Store.GroupMetadata = window.mR.findModule('GroupMetadata')[0].default.GroupMetadata

Isso resolve o problema, caso alguem queira ver o link eh esse : https://github.com/pedroslopez/whatsapp-web.js/issues/1786

CSFelix commented 1 year ago

It worked, thank you!

allgood commented 1 year ago

O whatsapp-web.js na versão 1.18.3 já resolve esse problema!

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.