Comments (4)
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.
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.
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.
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)
- Need to implement new login method HOT 1
- Can not load module raid HOT 1
- Deprecated transitive dependency with security alerts [unzipper]
- QR Scan Doubles Triggers on Linux Server HOT 7
- messageMedia.downloadMedia() not working for attachement file etc. PDF, Docs Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'Msg')
- Failed QR authentication: Scanning a QR generates another QR with an undefined part HOT 5
- Link Invite Wwebjs Official Discord is Broken HOT 4
- WhatsApp crash when client logout from device
- Cannot sent List, Polls or Buttons
- Erro ao iniciar o script! Alguem ajuda? HOT 1
- Upgrade to v1.24 causing exception while finding manifest version HOT 1
- throw new Error('Evaluation failed: ' + helper_js_1.helper.getExceptionMessage(exceptionDetails)); ^ Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'default') HOT 6
- Error initializing client Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'push') HOT 1
- System keep crashing when any one sending a big file size over 50m HOT 1
- QR code scanning doesn't work on AWS server HOT 1
- ProtocolError: Waiting for selector `div[role='textbox']` failed: Runtime.callFunctionOn timed out. Increase the 'protocolTimeout' setting in launch/connect calls for a higher timeout if needed. HOT 1
- Could not create directory /wweb/sessions/cache/session-479717: Read-only file system (30) HOT 2
- Message.getInfo() does not show any deliveries (while WhatsApp Primary on phone shows deliveries) HOT 2
- LocalWebCache not working on web.whatsapp 2.3000 HOT 2
- Error when playing voice on IOS HOT 2
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 whatsapp-web.js.