venom: this._find is not a function

Description

Getting this error on running venom 3.1.2 now

Log Output

(node:31737) UnhandledPromiseRejectionWarning: Error: Evaluation failed: TypeError: this._find is not a function
    at j._serverQuery (https://web.whatsapp.com/bootstrap_qr.abbc2ea8366e2cd9a145.js:55:334921)
    at j._query (https://web.whatsapp.com/bootstrap_qr.abbc2ea8366e2cd9a145.js:55:334450)
    at j.find (https://web.whatsapp.com/bootstrap_qr.abbc2ea8366e2cd9a145.js:55:332582)
    at Object.window.WAPI.window.WAPI.getChat (/Users/ujjawalchauhan/Dropbox/mywasender/node_modules/venom-bot/dist/lib/wapi/wapi.js:1:55806)
    at Object.window.WAPI.window.WAPI.sendExist (/Users/ujjawalchauhan/Dropbox/mywasender/node_modules/venom-bot/dist/lib/wapi/wapi.js:1:30002)
    at async l (/Users/ujjawalchauhan/Dropbox/mywasender/node_modules/venom-bot/dist/lib/wapi/wapi.js:1:24700)
    at ExecutionContext._evaluateInternal (/Users/ujjawalchauhan/Dropbox/mywasender/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:221:19)
    at process._tickCallback (internal/process/next_tick.js:68:7)
(node:31737) 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(). (rejection id: 1)
(node:31737) [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.```

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 2
  • Comments: 22 (5 by maintainers)

Most upvoted comments

wapi.js.txt Rename the file to .js and place in the correct place just as a quick fix

thanks @jsuceir and @fibonaci

wapi.js.txt Rename the file to .js and place in the correct place just as a quick fix

thanks @jsuceir

open pull in venom git

I resolved this issue with this code:

if( !Store.Chat._find ) { Store.Chat._findAndParse = Store.BusinessProfile._findAndParse; Store.Chat._find = Store.BusinessProfile._find; }

Em qua., 1 de set. de 2021 às 07:28, Ahdian Rawuli @.***> escreveu:

Any update, someone success to solved it?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/orkestral/venom/issues/1102#issuecomment-910151140, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEHTIISKKWS2MQYTWU6TLLT7X54NANCNFSM5DFSZBTA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.