Error after scan
TypeError: Cannot read properties of undefined (reading 'mediaStage')
Expected behavior
error after scan
Steps to Reproduce the Bug or Issue
D:\whatsapp-api\node_modules\whatsapp-web.js\node_modules\puppeteer-core\lib\cjs\puppeteer\common\ExecutionContext.js:229
throw new Error('Evaluation failed: ' + (0, util_js_1.getExceptionMessage)(exceptionDetails));
^
Error: Evaluation failed: TypeError: window.WWebJS.downloadBuffer is not a function
at pptr://puppeteer_evaluation_script:6:48
at ExecutionContext._ExecutionContext_evaluate (D:\whatsapp-api\node_modules\whatsapp-web.js\node_modules\puppeteer-core\lib\cjs\puppeteer\common\ExecutionContext.js:229:15)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async ExecutionContext.evaluate (D:\whatsapp-api\node_modules\whatsapp-web.js\node_modules\puppeteer-core\lib\cjs\puppeteer\common\ExecutionContext.js:107:16)
at async Message.downloadMedia (D:\whatsapp-api\node_modules\whatsapp-web.js\src\structures\Message.js:452:24)
at async Client. (D:\whatsapp-api\app.js:539:19)
Node.js v18.14.2
Relevant Code
No response
Browser Type
Chromium
WhatsApp Account Type
WhatsApp Business
Does your WhatsApp account have multidevice enabled?
Is there an existing issue for this?
Describe the bug
Error after scan TypeError: Cannot read properties of undefined (reading 'mediaStage')
Expected behavior
error after scan
Steps to Reproduce the Bug or Issue
D:\whatsapp-api\node_modules\whatsapp-web.js\node_modules\puppeteer-core\lib\cjs\puppeteer\common\ExecutionContext.js:229 throw new Error('Evaluation failed: ' + (0, util_js_1.getExceptionMessage)(exceptionDetails)); ^
Error: Evaluation failed: TypeError: window.WWebJS.downloadBuffer is not a function at pptr://puppeteer_evaluation_script:6:48 at ExecutionContext._ExecutionContext_evaluate (D:\whatsapp-api\node_modules\whatsapp-web.js\node_modules\puppeteer-core\lib\cjs\puppeteer\common\ExecutionContext.js:229:15) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async ExecutionContext.evaluate (D:\whatsapp-api\node_modules\whatsapp-web.js\node_modules\puppeteer-core\lib\cjs\puppeteer\common\ExecutionContext.js:107:16) at async Message.downloadMedia (D:\whatsapp-api\node_modules\whatsapp-web.js\src\structures\Message.js:452:24) at async Client. (D:\whatsapp-api\app.js:539:19)
Node.js v18.14.2
Relevant Code
No response
Browser Type
Chromium
WhatsApp Account Type
WhatsApp Business
Does your WhatsApp account have multidevice enabled?
No, I am not using Multi Device
Environment
windows 10
Additional context
No response