suddenly whatsapp web js not working, and tryng to restart but
$ node TCRM.js
Sedang Menghubungkan ke Whatsapp Web........
(node:2201892) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)
Terhubung ke MQTT
C:\Users\Administrator\Documents\NodeJS\TCRM-WA\node_modules\whatsapp-web.js\src\webCache\LocalWebCache.js:34
const version = indexHtml.match(/manifest-([\d\.]+).json/)[1];
^
TypeError: Cannot read properties of null (reading '1')
at LocalWebCache.persist (C:\Users\Administrator\Documents\NodeJS\TCRM-WA\node_modules\whatsapp-web.js\src\webCache\LocalWebCache.js:34:69)
at C:\Users\Administrator\Documents\NodeJS\TCRM-WA\node_modules\whatsapp-web.js\src\Client.js:771:36
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Node.js v21.5.0
Expected behavior
function normally after starting code.
i was using this around several months and suddenly stop working.
Steps to Reproduce the Bug or Issue
able to login and start bot function,
Relevant Code
No response
Browser Type
Chromium
WhatsApp Account Type
Standard
Does your WhatsApp account have multidevice enabled?
Is there an existing issue for this?
Describe the bug
suddenly whatsapp web js not working, and tryng to restart but
$ node TCRM.js
Sedang Menghubungkan ke Whatsapp Web........
(node:2201892) [DEP0040] DeprecationWarning: The
punycode
module is deprecated. Please use a userland alternative instead. (Usenode --trace-deprecation ...
to show where the warning was created) Terhubung ke MQTT C:\Users\Administrator\Documents\NodeJS\TCRM-WA\node_modules\whatsapp-web.js\src\webCache\LocalWebCache.js:34 const version = indexHtml.match(/manifest-([\d\.]+).json/)[1]; ^TypeError: Cannot read properties of null (reading '1') at LocalWebCache.persist (C:\Users\Administrator\Documents\NodeJS\TCRM-WA\node_modules\whatsapp-web.js\src\webCache\LocalWebCache.js:34:69) at C:\Users\Administrator\Documents\NodeJS\TCRM-WA\node_modules\whatsapp-web.js\src\Client.js:771:36 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Node.js v21.5.0
Expected behavior
function normally after starting code. i was using this around several months and suddenly stop working.
Steps to Reproduce the Bug or Issue
able to login and start bot function,
Relevant Code
No response
Browser Type
Chromium
WhatsApp Account Type
Standard
Does your WhatsApp account have multidevice enabled?
Yes, I am using Multi Device
Environment
WIndows Server 2022, Node.js v21.5.0
Additional context
No response