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

Parou de funcionar com o Venom 4 #122

Closed
Sulivan1999 opened this issue Nov 8, 2021 · 7 comments
Closed

Parou de funcionar com o Venom 4 #122

Sulivan1999 opened this issue Nov 8, 2021 · 7 comments
Labels
awaiting feedback awaiting feedback complete help wanted Extra attention is needed

Comments

@Sulivan1999
Copy link

Após a atualização do Venom para a versão 4 não é possível mais identificar o status conectado após a leitura do QR-code, também não é possível enviar mensagens.

@jhowbhz
Copy link
Collaborator

jhowbhz commented Nov 8, 2021

Tem alguma sugestão de update?

@jhowbhz jhowbhz added the awaiting feedback awaiting feedback complete label Nov 8, 2021
@Sulivan1999
Copy link
Author

Tem alguma sugestão de update?

Bom, não sei muito bem o que mudou... Porém em meus testes eu identifiquei que o WhatsApp conecta normal após a leitura do qr-code, porém não é possível pegar o status da sessão e nem enviar mensagens chamando sendText, mesmo estando mostrando no celular e no terminal que a sessão está conectado.

@vsoaresz
Copy link

vsoaresz commented Nov 9, 2021

Mesmo problema pra mim.

@jhowbhz jhowbhz added the help wanted Extra attention is needed label Nov 9, 2021
@jhowbhz jhowbhz pinned this issue Nov 9, 2021
@AlanMartines
Copy link
Contributor

Faz um teste, dê um

 npm remove venom-bot

e depois um

npm install [email protected]

para usar a versão sem Multdevice.

@Maycon355
Copy link

Ainda mesmo erro...

@mrhewbuc
Copy link

O mesmo aqui

@mrhewbuc
Copy link

npm install [email protected]

Com a sua sugestão, o erro muda.
Error: Evaluation failed: TypeError: Cannot read property 'wid' of undefined
at Object.window.WAPI.window.WAPI.sendMessage (/root/myzap/node_modules/venom-bot/dist/lib/wapi/wapi.js:1:44715)
at ExecutionContext._evaluateInternal (/root/myzap/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:217:19)
at runMicrotasks ()
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async ExecutionContext.evaluate (/root/myzap/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:106:16)

@jhowbhz jhowbhz closed this as completed Jun 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting feedback awaiting feedback complete help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

6 participants