Closed xousef closed 5 months ago
hi, thank you for reporting the error,
npm uninstall whatsapp-web.js
.wwebjs_auth
folderwhatsapp-web.js
version 1.23.1-alpha.5
by way of:
npm i whatsapp-web.js@1.23.1-alpha.5
webVersionCache: {
type: 'remote',
remotePath: `https://raw.githubusercontent.com/wppconnect-team/wa-version/main/html/2.2407.3.html`,
}
so that it becomes like this
const client = new Client({
restartOnAuthFail: true,
puppeteer: {
headless: true,
args: [ '--no-sandbox', '--disable-setuid-sandbox' ]
},
webVersionCache: { // this
type: 'remote',
remotePath: `https://raw.githubusercontent.com/wppconnect-team/wa-version/main/html/2.2407.3.html`,
},
ffmpeg: './ffmpeg.exe',
authStrategy: new LocalAuth({ clientId: "client" })
});
npm run start
or you can also install the latest update (Click Here) from us
DOESN'T WORK AS OF 10/2023