Comments (8)
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.
Mesmo problema aqui
from whaticket-community.
Same problem here
any other solutions
from whaticket-community.
Mesma coisa aqui.
from whaticket-community.
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.
Estou com o mesmo problema.
from whaticket-community.
I have the same error
from whaticket-community.
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)
- Error Build Frontend HOT 2
- Stickers não aparecem embaixo da mensagem - Reação por Emoji HOT 1
- send broadcast message HOT 1
- pending kernel upgrade HOT 2
- Installation error HOT 2
- Erro na leitura do QRCode HOT 2
- The connection menu appears an exclamation mark
- Error appears after running npm run build HOT 4
- Add SQLite support
- QR Error never connects HOT 9
- Error from backend docker image (lodash) HOT 2
- Acabei de baixar o código do GIT HOT 1
- qr does not connect, HOT 2
- Filtering problems
- npm run build show errors
- Ubuntu 22 e instalacao
- Conversa nao aparece HOT 4
- Não gera o modal do QR Code para conectar o Whatsapp HOT 2
- The status of my connections is always "OPENING" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whaticket-community.