Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
eduamaral23 opened this issue Nov 11, 2022 · 3 comments
Labels

Comments

@eduamaral23
Copy link

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 : pedroslopez/whatsapp-web.js#1786

@CSFelix
Copy link

CSFelix commented Nov 14, 2022

It worked, thank you!

@allgood
Copy link
Contributor

allgood commented Nov 15, 2022

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

@stale
Copy link

stale bot commented Nov 27, 2022

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.

@stale stale bot added the stale label Nov 27, 2022
alonsosimoes added a commit to alonsosimoes/whaticket that referenced this issue Nov 28, 2022
@canove canove closed this as completed in 50a0c1a Dec 8, 2022
canove added a commit that referenced this issue Dec 8, 2022
typescript, pino-pretty and whatsapp web fixes #486 #483 and #492
Horgun pushed a commit to Horgun/whaticket that referenced this issue Feb 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants