Giter Club home page Giter Club logo

Comments (14)

claudiogg88 avatar claudiogg88 commented on July 18, 2024

any solution?

from whatsapp-web.js.

sauqi28 avatar sauqi28 commented on July 18, 2024

any solution?

note yet, i have same problem

from whatsapp-web.js.

aangwie avatar aangwie commented on July 18, 2024

any solution?

Try This. Open Constants.js at util folder, change this code
WebVersion : 2.2410.1, webVersionCache : { type : 'local' },

With This
webVersion: '2.2410.1', webVersionCache: { type: 'remote', remotePath : 'https://raw.githubusercontent.com/wppconnect-team/wa-version/main/html/2.2410.1.html', },

from whatsapp-web.js.

BernetteGunasekaran avatar BernetteGunasekaran commented on July 18, 2024

try this ,its working on windows

webVersion: '2.2322.15',
webVersionCache: {
type: 'remote',
remotePath: 'https://raw.githubusercontent.com/wppconnect-team/wa-version/main/html/2.2412.54.html',

from whatsapp-web.js.

claudiogg88 avatar claudiogg88 commented on July 18, 2024

I deleted all my messages and it didn't give any more errors

from whatsapp-web.js.

justoverclockl avatar justoverclockl commented on July 18, 2024

try this ,its working on windows

webVersion: '2.2322.15', webVersionCache: { type: 'remote', remotePath: 'https://raw.githubusercontent.com/wppconnect-team/wa-version/main/html/2.2412.54.html',

not work at all...same error for me

from whatsapp-web.js.

maaelphd avatar maaelphd commented on July 18, 2024

try this ,its working on windows

webVersion: '2.2322.15', webVersionCache: { type: 'remote', remotePath: 'https://raw.githubusercontent.com/wppconnect-team/wa-version/main/html/2.2412.54.html',

This version work for me, i was receving the error: "Node with given id does not belong to the document"
When i checked the Constants.js file it was using the version "2.2410.1", Looking on "https://github.com/wppconnect-team/wa-version/tree/main/html", looks like this versions is not maintened anymore. Change to this new version works fine.
However, it is a bit annoying to have to check the versions frequently, but at the moment it is working now!

from whatsapp-web.js.

justoverclockl avatar justoverclockl commented on July 18, 2024

Why closed????????

No response as always.....what a policy

from whatsapp-web.js.

rizki5411 avatar rizki5411 commented on July 18, 2024

anyone can fix it?

from whatsapp-web.js.

justoverclockl avatar justoverclockl commented on July 18, 2024

anyone can fix it?

no one will take care of issues (this is my experience so far). So maybe you need to wait for another version that address this (if you're lucky).

If this can help you this happen to me when i migrate to exodus...previous versions works....(for now)

from whatsapp-web.js.

erenn44 avatar erenn44 commented on July 18, 2024

anyone can fix it?

from whatsapp-web.js.

claudiogg88 avatar claudiogg88 commented on July 18, 2024

anyone can fix it?

I was able to resolve it by clearing all messages from the app on my phone

from whatsapp-web.js.

MarcosWandenkolk avatar MarcosWandenkolk commented on July 18, 2024

Modify the logout() function in your Client.js as follows:

   async logout() {
        await this.pupPage.evaluate(() => {
            return window.Store.AppState.logout();
        });
        
	await this.pupPage.waitForFunction(() => !(window.Store.isLogoutInProgress), { timeout: 20000 });
        
        let maxDelay = 0;
        while (this.pupBrowser.isConnected() && (maxDelay < 10)) { // waits a maximum of 1 second before calling the AuthStrategy
            await new Promise(resolve => setTimeout(resolve, 100));
            maxDelay++; 
        }
        
        await this.authStrategy.logout();
    }

For more details see: 6d68da4

from whatsapp-web.js.

MrJmpl3 avatar MrJmpl3 commented on July 18, 2024

I think the problem is here:

await this.authStrategy.logout();

Why the logout function delete the user folder without close the browser before?

from whatsapp-web.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.