Suddenly Send Message Stopped Working.
Everything used to work, but suddenly we have started getting this error when trying to send message.
URL endpoint https:/
Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'sendSeen') at pptr://puppeteer_evaluation_script:7:37 at ExecutionContext._ExecutionContext_evaluate (/usr/src/app/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 (/usr/src/app/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js:107:16) at async Client.sendMessage (/usr/src/app/node_modules/whatsapp-web.js/src/Client.js:950:28) at async sendMessage (/usr/src/app/src/controllers/clientController.js:82:22
Earlier everything was working.
See related issue https://github.com/chrishubert/whatsapp-api/issues/366
just run npm i whatsapp-web.js and it will work .... like avoylenko said, just update the whatsapp-web.js version
no luck after npm i whatsapp-web.js