raweee / node-red-contrib-whatsapp-link

Simple Node-Red node to link Whatsapp
https://discord.gg/VApVeGuF
26 stars 7 forks source link

[error] TypeError: Cannot read properties of null (reading '1') #59

Open V24885 opened 3 months ago

V24885 commented 3 months ago

When scanning the QRcode for the first time it works. However, when reloading, the following error appears:

[error] TypeError: Cannot read properties of null (reading '1') at LocalWebCache.persist (C:\Users\admin\node_modules\whatsapp-web.js\src\webCache\LocalWebCache.js:34:69) at C:\Users\admin\node_modules\whatsapp-web.js\src\Client.js:744:36 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

this after error, nodered no longer works

Sahib1976 commented 3 months ago

When scanning the QRcode for the first time it works. However, when reloading, the following error appears:

[error] TypeError: Cannot read properties of null (reading '1') at LocalWebCache.persist (C:\Users\admin\node_modules\whatsapp-web.js\src\webCache\LocalWebCache.js:34:69) at C:\Users\admin\node_modules\whatsapp-web.js\src\Client.js:744:36 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) I have the same error, when I first load Node-red WhatsApp it connects and then crashes.

help me please.

V24885 commented 3 months ago

I believe the error is in node-red-contrib-link-whatsapp. If you can resolve it, please report it here.

danielfabro commented 2 months ago

I'm also having this same problem. Need help. Does anyone know the solution, please share. TypeError: Cannot read properties of null (reading '1') at LocalWebCache.persist (/root/.node-red/node_modules/whatsapp-web.js/src/webCache/LocalWebCache.js:34:69) at /root/.node-red/node_modules/whatsapp-web.js/src/Client.js:744:36

sauqi28 commented 2 months ago

yes i have same problem, :(

rizkihermansyah83 commented 2 months ago

i have same ploblems.. help me please sir... thankyou

mrameen commented 2 months ago

i have same ploblems.. help me please sir... thankyou

mrameen commented 2 months ago

Solved by this Solved by this https://github.com/raweee/node-red-contrib-whatsapp-link/issues/58

rizkihermansyah83 commented 2 months ago

solvet.. mrameen... thankyou very much sir...