question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

sendText when first text is error

See original GitHub issue

from bot is a first chat to receiver i got some error

(node:855) UnhandledPromiseRejectionWarning: Error: Evaluation failed: TypeError: n._find is not a function
    at https://web.whatsapp.com/bootstrap_qr.ccb090b3a46e05558abd.js:56:342945
    at Generator.next (<anonymous>)
    at t (https://web.whatsapp.com/vendor1~bootstrap_qr.d4ef2d214939fc06cd93.js:2:63784)
    at s (https://web.whatsapp.com/vendor1~bootstrap_qr.d4ef2d214939fc06cd93.js:2:63995)
    at https://web.whatsapp.com/vendor1~bootstrap_qr.d4ef2d214939fc06cd93.js:2:64054
    at j (https://web.whatsapp.com/bootstrap_qr.ccb090b3a46e05558abd.js:2:385573)
    at new g (https://web.whatsapp.com/bootstrap_qr.ccb090b3a46e05558abd.js:2:376468)
    at https://web.whatsapp.com/vendor1~bootstrap_qr.d4ef2d214939fc06cd93.js:2:63935
    at W._serverQuery (https://web.whatsapp.com/bootstrap_qr.ccb090b3a46e05558abd.js:56:343309)
    at W._query (https://web.whatsapp.com/bootstrap_qr.ccb090b3a46e05558abd.js:56:342436)
    at ExecutionContext._evaluateInternal (/Users/rw/Documents/whatsapp/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:217:19)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async ExecutionContext.evaluate (/Users/rw/Documents/whatsapp/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:106:16)
(Use node --trace-warnings ... to show where the warning was created)
(node:855) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:855) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

i use 4.0.1 venom bot version

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:22 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
AlexsandroZanella2commented, Nov 9, 2021

Try the following steps: Delete node-modules folder,; Delete package-lock; Add in package.json: “puppeteer”: “^8.0.0”, “puppeteer-extra”: “^3.1.18”, “puppeteer-extra-plugin-stealth”: “^2.9.0”; Run npm cache clean --force; and Run npm i venom-bot@3.1.12; and npm i

2reactions
AlexsandroZanella2commented, Nov 9, 2021

I solved this using version 3.1.12 instead of 4.0.0.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error message from sender 9230 - T-Mobile
Message returned to your device from 9230. Solution. Msg 2106 - The destination email address is not in the correct format. Please correct...
Read more >
7 ways to fix an Android device that won't send text messages
7 ways to fix an Android device that won't send text messages · Restart your phone · Check for updates · Clear your...
Read more >
I get error messages when trying to send text to one contact
I get error message when sending text to one of my contacts, yet I receive texts from that contact. What is wrong?
Read more >
Text Messages Not Sending on Android? Quick Solutions Here
How to Fix: Can't Send Text Messages on Android Phone · Tip 1. Soft Reset Your Phone · Tip 2. Clear Cache on...
Read more >
Can't text someone, yet they can text me - Apple Community
Trying to text someone but getting a Not Delivered Message Failure error. Yet that person can text me without any problems.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found