wppconnect-team / wa-js

WPPConnect/WA-JS is an open-source project with the aim of exporting functions from WhatsApp Web
https://wppconnect.io/wa-js/
Apache License 2.0
408 stars 129 forks source link

`npm run launch:protocol-log` encounter "Cannot read properties of null (reading 'deprecatedSendIq')" #1950

Closed bright-seasalt closed 4 months ago

bright-seasalt commented 4 months ago

WA-JS Version

3.2.6

WhatsApp Version

2.3000.1013681002

Browser Version

Chrome 125.0.6422.26 (Developer Build) (64-bit)

Operation System

Ubuntu 20.04.6 LTS/5.15.146.1-microsoft-standard-WSL2

Steps to reproduce

git clone https://github.com/wppconnect-team/wa-js npm install npm run launch:protocol-log

What is expected?

The browser can open normally.

What is actually happening?

bright2227@DESKTOP-UCTISJG:~/mypath/app/testing_wppconnect/wa-js$ npm run launch:protocol-log

> @wppconnect/wa-js@3.2.6 launch:protocol-log
> ts-node ./src/tools/launchProtocolLog.ts

WhatsApp Version:  2.3000.1013681002
page.evaluate: TypeError: Cannot read properties of null (reading 'deprecatedSendIq')
    at eval (eval at evaluate (:226:30), <anonymous>:23:45)
    at UtilityScript.evaluate (<anonymous>:228:17)
    at UtilityScript.<anonymous> (<anonymous>:1:44)
    at Page.<anonymous> (/home/bright2227/mypath/app/testing_wppconnect/wa-js/src/tools/launchProtocolLog.ts:63:10)
bright2227@DESKTOP-UCTISJG:~/mypath/app/testing_wppconnect/wa-js$ 

The browser is closed when error raises.

Any additional comments?

No response