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

Error: Evaluation failed: TypeError: e.match is not a function #735

Closed
developerdevice opened this issue Mar 16, 2021 · 0 comments
Closed
Labels
bug Something isn't working needs triage Needs avaliation

Comments

@developerdevice
Copy link

Description

Hello guys, I was using the version 3.0.8 until today, when I decided upgrade do the newer, but when I send a message with sendText() an error occurs.

Environment

  • Venom version(s): [3.0.10]
  • Browser: [Chrome 88]
  • OS: [Debian 9 Strech]
  • Node version: [Node 14.15.4]

Steps to Reproduce

  1. Ler QRCODE
  2. Tentar enviar uma mensagem com a função sendText

Log Output

If relevant, paste all of your Log Output

Your Code

0|index  | Error: Evaluation failed: TypeError: e.match is not a function
0|index  |     at new l (https://web.whatsapp.com/bootstrap_qr.8c6bd07fd55e4b8fbdb7.js:1:1052938)
0|index  |     at new s (https://web.whatsapp.com/bootstrap_qr.8c6bd07fd55e4b8fbdb7.js:1:1057160)
0|index  |     at Object.window.WAPI.window.WAPI.getNewMessageId (/var/www/whapi/node/node_modules/venom-bot/dist/lib/wapi/wapi.js:1:57112)
0|index  |     at async Object.window.WAPI.window.WAPI.sendMessage (/var/www/whapi/node/node_modules/venom-bot/dist/lib/wapi/wapi.js:1:37294)
0|index  |     at ExecutionContext._evaluateInternal (/var/www/whapi/node/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:217:19)
0|index  |     at processTicksAndRejections (internal/process/task_queues.js:93:5)
0|index  |     at async ExecutionContext.evaluate (/var/www/whapi/node/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage Needs avaliation
Projects
None yet
Development

No branches or pull requests

2 participants