bot-whatsapp
bot-whatsapp copied to clipboard
Error in library puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:221
I get this error message when receiving a message:
throw new Error('Evaluation failed: ' + helper_js_1.helper.getExceptionMessage(exceptionDetails));
rror: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'features')
at Object.window.WWebJS.sendMessage (puppeteer_evaluation_script:92:39)
at puppeteer_evaluation_script:10:45
at ExecutionContext._evaluateInternal (/home/bot/bot-whatsapp-main/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:221:19)
at runMicrotasks (
actualizar a la V1.16.6 de whatsapp-web.js y este inconveniente se fixea
@Gonzalito87 si gustas envÃame un PR solo con el cambio de versión
Hola estoy con el mismo error me podrÃan explicar como solucionarlo porfavor.
throw new Error('Evaluation failed: ' + helper_js_1.helper.getExceptionMessage(exceptionDetails)); ^
Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'isMDBackend') at puppeteer_evaluation_script:13:68 at ExecutionContext._evaluateInternal (F:\chatbot\bot-whatsapp-main\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:221:19) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async ExecutionContext.evaluate (F:\chatbot\bot-whatsapp-main\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:110:16) at async Client.initialize (F:\chatbot\bot-whatsapp-main\node_modules\whatsapp-web.js\src\Client.js:221:9)
Hola estoy con el mismo error me podrÃan explicar como solucionarlo porfavor.
throw new Error('Evaluation failed: ' + helper_js_1.helper.getExceptionMessage(exceptionDetails)); ^
Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'isMDBackend') at puppeteer_evaluation_script:13:68 at ExecutionContext._evaluateInternal (F:\chatbot\bot-whatsapp-main\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:221:19) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async ExecutionContext.evaluate (F:\chatbot\bot-whatsapp-main\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:110:16) at async Client.initialize (F:\chatbot\bot-whatsapp-main\node_modules\whatsapp-web.js\src\Client.js:221:9)
Solo ejecuta el siguiente comando para actualizar la libreria de whatsapp-web.js:
npm i github:pedroslopez/whatsapp-web.js
¿Alguna novedad sobre esta ISSUE?