So i opened this issue on github: https://github.com/pedroslopez/whatsapp-web.js/issues/2738
And i didnt fix my problem as i dont have a .wweb_cache nor a .wweb_auth folder on my Raspberry pi and they closed my issue
#whatsapp web not loading
27 messages · Page 1 of 1 (latest)
What type of authentication are you using? post your code.
Does Chromium hit a error? Post it, try to check the path of chromium and if its valid or not
Oh yeah lemme do that, i use localauth btw
Nope
if you are using localauth then the .wwebjs_auth folder have to be created once you scanned the qr
this is how this auth works
fr
As @uncut rapids said if you are using LocalAuth and you were successful in scanning the qrcode at least once, folders .wwebjs_auth and .wwebjs_cach must be created. My advice for you is to check your version of the lib and review your storage to locate the folders.
yeah ik but i tried deleting everything other than the js file itself
also i scanned the whole drive for those two folders and nothing i don't have them and still no events get fired
If you don't have this folder you are not logged in
yeah the problem isn't that i can't login, the problem is that the bot doasen't even start up
no qr code gets received
no loading event gets triggered
nothing, like it's not doing enything
and nothing in the script itself is wrong as i copied it and on my pc it works
also tried reinstalling pupeteer chromium and node
What operating system are you using?
The same argument can be used to prove that the problem isn't in the lib but in how you implement it.
Certainly, something is missing on your raspbian.
i has some problem, i delete folder .wweb_cache and a .wweb_auth then i try to initialize but nothing show the qrcode. I dont know what the problem? any body has suggestion?
debian