yusufusta / WhatsAsena

WhatsAsena project - Makes it easy and fun to use Whatsapp. Also first userbot for Whatsapp
https://t.me/WhatsAsena
GNU General Public License v3.0
257 stars 538 forks source link

Node bot.js command gives errors !! #65

Open Temuxuser2021 opened 2 years ago

Temuxuser2021 commented 2 years ago

When i type npm i its starting some files downloading and when its complete i type node bot.js But it gives me errror 👉👉 root@termux[WhatsAsena]:

node bonode bot.js

/data/data/com.termux/files/home/WhatsAsena/node_modules/@adiwajshing/baileys/lib/WAConnection/0.Base.js:146 throw new Error('given authInfo is null'); ^

Error: given authInfo is null at WAConnection.loadAuthInfo (/data/data/com.termux/files/home/WhatsAsena/node_modules/@adiwajshing/baileys/lib/WAConnection/0.Base.js:146:19) at whatsAsena (/data/data/com.termux/files/home/WhatsAsena/bot.js:79:14) root@termux[WhatsAsena]:

Temuxuser2021 commented 2 years ago

Answer please what i do now ?

jromxy commented 2 years ago

I think rm -rf node and reinstall it and check again

On Sun, 19 Sep 2021, 8:55 am Temuxuser2021, @.***> wrote:

Answer please what i do now ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/yusufusta/WhatsAsena/issues/65#issuecomment-922409146, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASI67KLPKQ2MJQS5WILIQGTUCVJZFANCNFSM5EI7WMKQ .

Temuxuser2021 commented 2 years ago

I think rm -rf node and reinstall it and check again … On Sun, 19 Sep 2021, 8:55 am Temuxuser2021, @.***> wrote: Answer please what i do now ? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#65 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASI67KLPKQ2MJQS5WILIQGTUCVJZFANCNFSM5EI7WMKQ .

I do but nothing worked