whatsapp-api-tutorial icon indicating copy to clipboard operation
whatsapp-api-tutorial copied to clipboard

Pada saat di Scan langsung error

Open faiz5758 opened this issue 2 years ago • 3 comments

Error: Protocol error (Runtime.callFunctionOn): Target closed.

Lengkapnya seperti ini

C:\wa\node_modules\whatsapp-web.js\node_modules\puppeteer\lib\cjs\puppeteer\common\Connection.js:217 this._callbacks.set(id, { resolve, reject, error: new Error(), method }); ^

Error: Protocol error (Runtime.callFunctionOn): Target closed. at C:\wa\node_modules\whatsapp-web.js\node_modules\puppeteer\lib\cjs\puppeteer\common\Connection.js:217:63 at new Promise () at CDPSession.send (C:\wa\node_modules\whatsapp-web.js\node_modules\puppeteer\lib\cjs\puppeteer\common\Connection.js:216:16) at ExecutionContext._evaluateInternal (C:\wa\node_modules\whatsapp-web.js\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:204:50) at ExecutionContext.evaluateHandle (C:\wa\node_modules\whatsapp-web.js\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:155:21) at WaitTask.rerun (C:\wa\node_modules\whatsapp-web.js\node_modules\puppeteer\lib\cjs\puppeteer\common\DOMWorld.js:536:37) at processTicksAndRejections (node:internal/process/task_queues:96:5)

faiz5758 avatar Dec 14 '21 07:12 faiz5758

Apakah menggunakan Whatsapp Multi Device Beta?

ngekoding avatar Dec 15 '21 00:12 ngekoding

Apakah menggunakan Whatsapp Multi Device Beta?

Tidak

faiz5758 avatar Dec 15 '21 09:12 faiz5758

Pastikan menggunakan whatsapp-web.js versi terbaru.

ngekoding avatar Dec 15 '21 13:12 ngekoding