We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I use client.logout() with authStrategy: LocalAuth with specific dataPath and clientId. I get this error:
(node:12684) UnhandledPromiseRejectionWarning: Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'AppState') at __puppeteer_evaluation_script__:2:26 at ExecutionContext._evaluateInternal (C:\Users\whataspp-transfer\whatsapp-web-use\software\whatsapp-web-software\node_modules\whatsapp-web.js\node_modules\puppeteer\src\common\ExecutionContext.ts:273:13) versions:
The logout function should logout and not throw exception
logout
Use client.logout() with authStrategy: LocalAuth with specific dataPath and clientId.
whatsapp-web.js: 1.22.1 puppeteer: 21.1.0
Google Chrome
Standard
Yes, I am using Multi Device
Windows 10
The text was updated successfully, but these errors were encountered:
Same problem here
Sorry, something went wrong.
@Adi1231234 can you assign this issue for me ?
@Adi1231234 I have created a PR for the same, Please review
Successfully merging a pull request may close this issue.
Is there an existing issue for this?
Describe the bug
When I use client.logout() with authStrategy: LocalAuth with specific dataPath and clientId. I get this error:
Expected behavior
The
logout
function should logout and not throw exceptionSteps to Reproduce the Bug or Issue
Use client.logout() with authStrategy: LocalAuth with specific dataPath and clientId.
whatsapp-web.js: 1.22.1
puppeteer: 21.1.0
Browser Type
Google Chrome
WhatsApp Account Type
Standard
Does your WhatsApp account have multidevice enabled?
Yes, I am using Multi Device
Environment
Windows 10
The text was updated successfully, but these errors were encountered: