Closed whoisdon closed 7 months ago
can I do this ??
can I do this ??
?????
?????
Just checked the functionality:
const client = new Client({
authStrategy: new LocalAuth(dataPath: './new_path'}),
restartOnAuthFail: true,
puppeteer: {
headless: true,
args: args,
...
}
});
The session was stored in new_path
successfully
The issue is likely in your code not in the library
Is there an existing issue for this?
Describe the bug
Even configuring LocalAuth() on the client it does not save my session, before it saved normally without any errors. Now it doesn't work, every time I restart the application I need to connect again.
Expected behavior
Save the session
Steps to Reproduce the Bug or Issue
My options:
Relevant Code
Browser Type
Google Chrome
WhatsApp Account Type
Standard
Does your WhatsApp account have multidevice enabled?
No, I am not using Multi Device
Environment
I am using the whatsapp-web.js v1.22.2-alpha.1 I am running the code on Node.js Verion v20.6.1. OS: Ubuntu OS CellPhone: Android
Additional context