pedroslopez / whatsapp-web.js

A WhatsApp client library for NodeJS that connects through the WhatsApp Web browser app
https://wwebjs.dev
Apache License 2.0
15.54k stars 3.7k forks source link

Error: Evaluation failed: TypeError: Cannot read properties of null (reading 'update') #1800

Closed pecintamantan closed 2 years ago

pecintamantan commented 2 years ago

Is there an existing issue for this?

Describe the bug

Sorry Pedrolopez

I can't use bot whatsapp , i found err Error: Evaluation failed: TypeError: Cannot read properties of null (reading 'update') if i send message pleasee anyone help me

Thx

Expected behavior

.

Steps to Reproduce the Bug or Issue

.

Relevant Code

.

Browser Type

Google Chrome

WhatsApp Account Type

Standard

Does your WhatsApp account have multidevice enabled?

Yes, I am using Multi Device

Environment

.

Additional context

.

luispernalete commented 2 years ago

cambiar linea 17 de src/util/Injected.js

window.Store.GroupMetadata = window.mR.findModule((module) => module.default && module.default.handlePendingInvite)[0].default;

por esta

window.Store.GroupMetadata = null; //window.mR.findModule((module) => module.default && module.default.handlePendingInvite)[0].default;

pecintamantan commented 2 years ago

cambiar linea 17 de src/util/Injected.js

window.Store.GroupMetadata = window.mR.findModule((module) => module.default && module.default.handlePendingInvite)[0].default;

por esta

window.Store.GroupMetadata = null; //window.mR.findModule((module) => module.default && module.default.handlePendingInvite)[0].default;

dont working sir

anyone can help me? thanks

Solo-it commented 2 years ago

1789 You need this fix

Solo-it commented 2 years ago

@MltrCyber try fix it

pecintamantan commented 2 years ago

Okee

Forget it

I Will Waiting For Maintenance Thanks

pecintamantan commented 2 years ago

Okee

Forget it

I Will Waiting For Maintenance Thanks