Git Product home page Git Product logo

Comments (8)

mallikharjuna-wq avatar mallikharjuna-wq commented on August 27, 2024 1

Same problem here

The tip of @lidernetworktecnologia. It worked for me, but for it to work I didn't use npm install, I directly changed the package.json file with the correct version, getting: "whatsapp-web.js": "^1.23.1-alpha.5"
then removed the directory node_modules and installed it, after that I changed the src/libs/wbot.ts file as below:

const wwebVersion = '2.2407.3';
const wbot: Session = new Client({
session: sessionCfg,
authStrategy: new LocalAuth({clientId: 'bd_'+whatsapp.id}),
puppeteer: {
executablePath: process.env.CHROME_BIN || undefined,
// @ts-ignore
browserWSEndpoint: process.env.CHROME_WS || undefined,
args: args.split(' ')
},
webVersionCache: {
type: 'remote',
remotePath: https://raw.githubusercontent.com/wppconnect-team/wa-version/main/html/${wwebVersion}.html,
},
});
It works, thanks for your assistance.

from whaticket-community.

lidernetworktecnologia avatar lidernetworktecnologia commented on August 27, 2024

Mesmo problema aqui

from whaticket-community.

mallikharjuna-wq avatar mallikharjuna-wq commented on August 27, 2024

Same problem here

any other solutions

from whaticket-community.

caiot5 avatar caiot5 commented on August 27, 2024

Mesma coisa aqui.

from whaticket-community.

lidernetworktecnologia avatar lidernetworktecnologia commented on August 27, 2024

Hoje voltou o problema e agora saiu a whatsapp-web.js1.23.1-alpha.6 e mesmo usando a ultima versao nao funciona mais retorna mesmo erro ao ler qrcode. Alguem conseguiu resolver apos cair novamente?

from whaticket-community.

rogeriosims avatar rogeriosims commented on August 27, 2024

Estou com o mesmo problema.

from whaticket-community.

Revolutionnnn avatar Revolutionnnn commented on August 27, 2024

I have the same error

from whaticket-community.

DukazzCruz avatar DukazzCruz commented on August 27, 2024

const wbot: Session = new Client({
session: sessionCfg,
webVersion: "2.2412.54v2",
puppeteer: {
browserWSEndpoint:
${process.env.CHROME_WS}${lauchOptions} || undefined,
args: [
"--no-sandbox",
"--disable-setuid-sandbox",
"--disable-gpu-driver-bug-workarounds",
"--disable-accelerated-2d-canvas",
"--disable-background-timer-throttling",
"--disable-backgrounding-occluded-windows",
--user-data-dir=${userDataDir} // Specify the dynamic user data directory here
],
headless: true,
userDataDir: process.env.CHROME_WS ? userDataDir : undefined
},
sessionName,
webVersionCache: {
type: "remote",
remotePath:https://raw.githubusercontent.com/wppconnect-team/wa-version/main/html/${wwebVersion}.html
}
});

I apply this patch:

whatsapp-web.js+1.23.1-alpha.5.patch

"whatsapp-web.js": "github:pedroslopez/whatsapp-web.js#webpack-exodus",

this is working me.

from whaticket-community.

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.