Open foodcodechat opened 1 month ago
same problem, please help
same here,
I was used latest version of webVersion 2.3000.1014580163-alpha but still error
hello @tegarferdigantara it was working for you these last days ? or it's your first time using it ?
it was working until 8 hours ago. Check their latest commit they remove all the beta versions. And no any alpha version working
it was working until 8 hours ago. Check their latest commit they remove all the beta versions. And no any alpha version working
ahh I see
it was working until 8 hours ago. Check their latest commit they remove all the beta versions. And no any alpha version working
ahh I see
This versions is not working too. I can't catch active event, when phone was scaned
how long should wait?
The same issue, I have tried many versions but none is working. The previous versions I was using are removed and have tried running their given code but no progress. Does anyone has any idea of the issue? And is there any alternative to it?
same probles.. please helpme sir... thanks...
I have the same issue, no other versions work.
Same problem.. please update ASAP
Same issue, waiting update...
Same issue, and other versions aren't working either. I'm waiting for an update
Mesmo problema aqui.
Same issue, help plz
same issue
Same issue, no working versions
Same issue, no working versions and broke my apps
I see that 2.2413.51-beta was it removed from this repository. Can you revert that commit, please?
Alguma novidade?
Any alternative solution?
One latest Alpha version was added
I tried by giving the URL , single session and even multiple session
remotePath:
"https://raw.githubusercontent.com/wppconnect-team/wa-version/main/html/2.3000.1014590669-alpha.html",
It throws below error after QR scan
throw new Error('Evaluation failed: ' + (0, util_js_1.getExceptionMessage)(exceptionDetails));
^
Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'default')
at pptr://__puppeteer_evaluation_script__:5:95
One latest Alpha version was added
bd46ca0#diff-2d5b12f9201834fecbafa944b5976c5153e286459c474b496d9db28f1733a5f4
I tried by giving the URL , single session and even multiple session
remotePath: "https://raw.githubusercontent.com/wppconnect-team/wa-version/main/html/2.3000.1014590669-alpha.html",
It throws below error after QR scan
throw new Error('Evaluation failed: ' + (0, util_js_1.getExceptionMessage)(exceptionDetails)); ^ Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'default') at pptr://__puppeteer_evaluation_script__:5:95
same issue happened to me when trying the new added a file
One latest Alpha version was added bd46ca0#diff-2d5b12f9201834fecbafa944b5976c5153e286459c474b496d9db28f1733a5f4 I tried by giving the URL , single session and even multiple session
remotePath: "https://raw.githubusercontent.com/wppconnect-team/wa-version/main/html/2.3000.1014590669-alpha.html",
It throws below error after QR scan
throw new Error('Evaluation failed: ' + (0, util_js_1.getExceptionMessage)(exceptionDetails)); ^ Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'default') at pptr://__puppeteer_evaluation_script__:5:95
same issue happened to me when trying the new added a file
Try it too. Same problem
Same problem
Please if you got the answer add it here Thanks
I just saw the latest alpha version added 1 hour ago >>>> 2.3000.1014590669-alpha.html
it is correct to test it this way after uploading it on my server >>> like that ? :
webVersion: '2.3000.1014590669', webVersionCache: { type: "remote", remotePath: "https://mycloudvps.ma/uploads/2.3000.1014590669-alpha.html.html", // my server },
Remove webVersionCache do codigo e use execute:
npm install github:pedroslopez/whatsapp-web.js#webpack-exodus
irá resolver o problema
Remova webVersionCache do código e use execute: npm instalar github:pedroslopez/whatsapp-web.js#webpack-exodus irá resolver o problema
Por favor, você pode mostrar um exemplo de como usar o codigo?
Execute no terminal esse comando abaixo e é resolvido.
npm instalar github:pedroslopez/whatsapp-web.js#webpack-exodus
const client = new Client({ authStrategy: new LocalAuth(), puppeteer: { args: [ '--no-sandbox', '--disable-setuid-sandbox', '--disable-accelerated-2d-canvas', '--no-first-run', '--no-zygote', '--disable-gpu' ], }, });
ok i'm trying thank you so much
ok, estou tentando, muito obrigado
resolveu ?
Someone posted an answer here and I tried and it worked!
npm install github:pedroslopez/whatsapp-web.js#webpack-exodus
I confirm that this works
Thank you CauaCodeDev and abdelazizElemary :+1:
first delete package.json and package-lock.json 2- install the module witht his commande line >>>> npm install github:pedroslopez/whatsapp-web.js#webpack-exodus 3- add the code below :
// you should require whatsapp-web.js and not the "./index" const { Client, Location, Poll, List, Buttons, LocalAuth } = require('whatsapp-web.js');
const client = new Client({ authStrategy: new LocalAuth({ clientId: this.id, dataPath: this.sessionPath, }), // proxyAuthentication: { username: 'username', password: 'password' }, puppeteer: { // args: ['--proxy-server=proxy-server-that-requires-authentication.example.com'], args: ['--no-sandbox', '--disable-setuid-sandbox'] , headless: true }, });
Não deu certo para mim.
Não deu certo para mim.
give us more detail about your code and the structure of your whatsapp project
for me its also not worked, i cant even scan the code it says It is not possible to link new devices
try to logout all the whsatapp web session of your device >>>> in connected devices and try again
@foodcodechat tried it still not helped
Thank you CauaCodeDev and abdelazizElemary 👍
first delete package.json and package-lock.json 2- install the module witht his commande line >>>> npm install github:pedroslopez/whatsapp-web.js#webpack-exodus 3- add the code below :
// you should require whatsapp-web.js and not the "./index" const { Client, Location, Poll, List, Buttons, LocalAuth } = require('whatsapp-web.js');
const client = new Client({ authStrategy: new LocalAuth({ clientId: this.id, dataPath: this.sessionPath, }), // proxyAuthentication: { username: 'username', password: 'password' }, puppeteer: { // args: ['--proxy-server=proxy-server-that-requires-authentication.example.com'], args: ['--no-sandbox', '--disable-setuid-sandbox'] , headless: true }, });
Thanks! It works for me.
This is my client instantiation. Also I unbinded all my linked devices.
const client = new Client({
webVersion: '2.3000.1014590669',
webVersionCache: {
type: 'remote',
remotePath: 'https://raw.githubusercontent.com/wppconnect-team/wa-version/main/html/2.3000.1014590669-alpha.html'
},
puppeteer: {
headless: true,
args: [
'--no-sandbox',
'--disable-setuid-sandbox',
'--disable-dev-shm-usage',
'--disable-accelerated-2d-canvas',
'--disable-gpu',
'--single-process',
'--no-zygote'
],
}
});
Em qual arquivo devo fazer essa elteração? @lanstat
Constants.js?
Thank you CauaCodeDev and abdelazizElemary 👍
first delete package.json and package-lock.json 2- install the module witht his commande line >>>> npm install github:pedroslopez/whatsapp-web.js#webpack-exodus 3- add the code below :
// you should require whatsapp-web.js and not the "./index" const { Client, Location, Poll, List, Buttons, LocalAuth } = require('whatsapp-web.js');
const client = new Client({ authStrategy: new LocalAuth({ clientId: this.id, dataPath: this.sessionPath, }), // proxyAuthentication: { username: 'username', password: 'password' }, puppeteer: { // args: ['--proxy-server=proxy-server-that-requires-authentication.example.com'], args: ['--no-sandbox', '--disable-setuid-sandbox'] , headless: true }, });
the goat.
Remove webVersionCache do codigo e use execute:
npm install github:pedroslopez/whatsapp-web.js#webpack-exodus
irá resolver o problema
Thank you, that worked for me
possible
Check this out @proggerkz
If you are using yarn you will need to tweak the add command a little bit. Delete node_modules and any old sessions and from the client initialization in your code remove webVersionCache part only puppeteer flags and you auth part as in the stackoverflow link. I hope it works 🙌
Aqui ainda não deu certo, o que vai ser alterado em qual arquivo.
1 Jul 16:37:50 - [error] Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'default') at puppeteer_evaluation_script:5:95 at ExecutionContext._evaluateInternal (C:\Users\serverlocal.node-red\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:221:19) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async ExecutionContext.evaluate (C:\Users\serverlocal.node-red\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:110:16) at async Client.initialize (C:\Users\serverlocal.node-red\node_modules\whatsapp-web.js\src\Client.js:323:9) PS C:\Users\serverlocal.node-red>
npm install github:pedroslopez/whatsapp-web.js#webpack-exodus this solved my problem thanks
Hello everyone please i need help i was using this version but now it's not working anymore please i need help :