Giter Club home page Giter Club logo

Comments (4)

officialomkarjadhav avatar officialomkarjadhav commented on June 19, 2024 2

const client = new Client({
authStrategy: new LocalAuth(),
puppeteer: {
headless: true,
args: [ '--no-sandbox', '--disable-gpu', ],
},
webVersionCache: { type: 'remote', remotePath: 'https://raw.githubusercontent.com/wppconnect-team/wa-version/main/html/2.2412.54.html', }
});

use this as a client and try

from whatsapp-web.js.

andresindlp avatar andresindlp commented on June 19, 2024

Same issue here, just started a new project following the guide.

whatsapp-web.js v1.23.0
Node.js v22.2.0
macOS
Google Chrome

from whatsapp-web.js.

jfmoura avatar jfmoura commented on June 19, 2024

I did what @officialomkarjadhav suggested.
However, after scanning the QR code to link the device on my mobile, nothing happens despite there being no errors.

Expected behavior
As it needs to show client is ready!

Steps to Reproduce the Bug or Issue
npm start

Relevant Code
package.json:

"dependencies": {
"puppeteer": "21.7.0",
"qrcode-terminal": "0.12.0",
"whatsapp-web.js": "1.23.1-alpha.6"
...
}

my user, no GUI client:

const client = new Client({
authStrategy: new LocalAuth({ clientId: "client1", dataPath: './.wwebjs_auth' }), //remember session
puppeteer: {
args: ['--no-sandbox', '--disable-gpu'],
},
webVersionCache: {
type: 'remote',
remotePath: 'https://raw.githubusercontent.com/wppconnect-team/wa-version/main/html/2.2412.54.html'
}
});

WhatsApp Account Type
WhatsApp Business

Does your WhatsApp account have multidevice enabled?
No, I am not using Multi Device

Environment
whatsapp-web.js v1.23.1-alpha.6
Node.js v20.10.0
raspianOS Linux 6.1.69-v8+ #1711 SMP PREEMPT Thu Dec 21 14:27:49 GMT 2023 aarch64 GNU/Linux
Terminal Google Chrome

Thank you in advance.

from whatsapp-web.js.

clayto-nr avatar clayto-nr commented on June 19, 2024

deu certo aqui

"const client = new Client({
authStrategy: new LocalAuth(),
puppeteer: {
headless: true,
args: [ '--no-sandbox', '--disable-gpu', ],
},
webVersionCache: { type: 'remote', remotePath: 'https://raw.githubusercontent.com/wppconnect-team/wa-version/main/html/2.2412.54.html', }
});

use isso como um cliente e tente"

obrigado

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.