pranavms13 / whatsapp-node-api

A Simple NodeJS API Wrapper for WhatsApp
Other
471 stars 184 forks source link

Post Send Message Crash #52

Closed achalag1 closed 2 years ago

achalag1 commented 2 years ago

GET : /auth/checkclientstatus/61b0428a7d73d80bba8c248c POST : /chatting/sendmessage /sendmessage =>61b0428a7d73d80bba8c248c /var/www/html/WhatsappCode/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:221 throw new Error('Evaluation failed: ' + helper_js_1.helper.getExceptionMessage(exceptionDetails)); ^

Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'sendSeen') at puppeteer_evaluation_script:6:31 at ExecutionContext._evaluateInternal (/var/www/html/WhatsappCode/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:221:19) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async ExecutionContext.evaluate (/var/www/html/WhatsappCode/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:110:16) at async Client.sendMessage (/var/www/html/WhatsappCode/node_modules/whatsapp-web.js/src/Client.js:560:28)

pranavms13 commented 2 years ago

It seems to be working fine. Please run npm update once more and try it.