Relative Content

Tag Archive for node.jsexpresswhatsapp

Whatsapp-web.js package failing when scanning the QR code

client = new Client({ authStrategy: new LocalAuth({ clientId: phoneNo, dataPath: sessionsPath, }), webVersionCache: { type: ‘remote’, remotePath: ‘https://raw.githubusercontent.com/wppconnect-team/wa-version/main/html/2.3000.1014590669-alpha.html’, }, puppeteer: { headless: true, // or false if you want to see the browser args: [‘–no-sandbox’, ‘–disable-setuid-sandbox’], // other Chromium flags if needed }, …clientOpts, }) This is my code to initialize a client using whatsapp-web.js […]