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)
- Running for a long time will lead to freezing
- Protocol error (Runtime.callFunctionOn): Execution context was destroyed HOT 3
- window.Store.NumberInfo.findCC is not a function HOT 2
- Evaluation failed: TypeError: window.Store.ProfilePic.profilePicFind is not a function\n at pptr://__puppeteer_evaluation_script__:4:54 HOT 1
- wweb.js (qr-code) is not worked HOT 13
- EBUSY: resource busy or locked, unlink 'C:\wp\.wwebjs_auth\session\lockfile'
- client.getMessageById() cannot find message of reaction.msgId
- {{~DOWNLOAD``!!}} WHATSAPP WEB , WHATSAPP BUSINESS WEB & WHATSAPP DESKTOP WA WEB ((**UPDATED!! 2024)) - CLIENT.JS PULL REQUEST
- Login using whatsapp standlone app on windows
- Feature update story
- CreateGroupError: An unknown error occupied while creating a group HOT 1
- TypeError: Cannot read properties of undefined (reading 'pupPage')
- @sparticuz/chromium support
- error after scan. TypeError: Cannot read properties of undefined (reading 'mediaStage')
- message.delete() is not working
- Client.resetState() error caused by shiftTimer HOT 1
- Send Message To Group Not Send HOT 1
- Getting remote session client is not Ready HOT 8
- Whatsapp Account Blocked because of Spam HOT 3
- getMessageById() Get Message ID(). If the message ID in the message I sent belongs to a message I sent to myself, an error occurs.
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.