Closed enangsubang closed 2 years ago
Issue ini udah banyak yg post Mas. Coba cari lagi.
Ok ... I already found the solution.... :-) thanks... arbisyarifudin
Ok ... I already found the solution.... :-) thanks... arbisyarifudin
Hi, what was the solution? I have the same problem.
RafaelIngenium,,, There is a file you must be change.
open file : whatsapp-web.js/src/util/injected.js
change: line 17 = window.Store.GroupMetadata = window.mR.findModule((module) => module.default && module.default.handlePendingInvite)[0].default;
to = window.Store.GroupMetadata = window.mR.findModule('GroupMetadata')[0].default.GroupMetadata
What's your NodeJS & Puppeteer version?
I had this error a week ago try updating Node to: v19.0.1 and downgrading whatsapp-web.js to: "^1.13.1" in the packages.json
I had this error a week ago try updating Node to: v19.0.1 and downgrading whatsapp-web.js to: "^1.13.1" in the packages.json
Try npm update whatsapp-web.js
Is there an existing issue for this?
Describe the bug
root@wa-crm-218:/var/www/html/wasiap/whatsapp-api# node 4.js App running on *: 8024 QR RECEIVED 2@FdZX7rDOZ7tm0xxUY1GTFkEeJv4Keyzkq/fd4YZqfl4S4brFvCFifSC4twkryooPo96uh6NeOXtShA==,g9XdoHrBLkNhGN6vtD/L498ZHCPjAIP0kIelYO1ZfD0=,8rPgk/8hWfYnefAAnXY4s60KOgtvUcwcLx3O+ZX5pGo=,xhBGkJGiyckKQbQeYzYnDtBQiiINWM/muYhjgYIw3gc=
(until this step QR shown, but after scan, shown error like below)
(node:60959) UnhandledPromiseRejectionWarning: Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'default') at puppeteer_evaluation_script:14:123 at ExecutionContext._evaluateInternal (/var/www/html/wasiap/whatsapp-api/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:221:19) at processTicksAndRejections (internal/process/task_queues.js:95:5) at async ExecutionContext.evaluate (/var/www/html/wasiap/whatsapp-api/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:110:16) at async Client.initialize (/var/www/html/wasiap/whatsapp-api/node_modules/whatsapp-web.js/src/Client.js:267:9) (Use
node --trace-warnings ...
to show where the warning was created) (node:60959) 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:60959) [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.Expected behavior
Please Solve this issues
Steps to Reproduce the Bug or Issue
help me please
Relevant Code
No response
Browser Type
Google Chrome
WhatsApp Account Type
Standard
Does your WhatsApp account have multidevice enabled?
Yes, I am using Multi Device
Environment
Ubuntu 20
Additional context
No response