pranavms13 / whatsapp-node-api

A Simple NodeJS API Wrapper for WhatsApp
Other
474 stars 183 forks source link

File session.json not created #23

Open kalkulatorcetak opened 3 years ago

kalkulatorcetak commented 3 years ago

File session.json not created after QR Code scaned and page not rediretc to Already Authenticated

pranavms13 commented 3 years ago

Delete the existing session.json file and try again

munajatibnu commented 3 years ago

how do i delete a file that doesn't exist

Lucaaaaaaaaaaaaa commented 3 years ago

I have the same problem. It doesnt create a session.json file.

toni-ismail commented 3 years ago

I have same issue. According to this issue on pedroslopez/whatsapp-web.js #564. I resolve this issue with :

  1. run npm update
  2. remove last.qr and session.json if exists
  3. rerun node api.js

Hope can help anyone with this issue, thx.