robvanderleek / mudslide

Send WhatsApp messages from the command-line
ISC License
122 stars 12 forks source link

npx mudslide@latest login - no longer works #18

Closed lightaffaire closed 1 year ago

lightaffaire commented 1 year ago

UPDATE: after deleting /root/.local/share/mudslide login worked again. Was it something todo with the upgrade to 0.12? Maybe add a --delete-cache option?

  1. upgraded to 0.12

  2. wanted to login so entered $ npx mudslide login

after approx. 5 seconds the prompt returns but no QR code is displayed

tried a

$ npx mudslide logout

and then again

$ npx mudslide login

same response... ~5 secs and shell prompt returns... no info messages from mudslide at all

could we get some more detailed info/flow via a --debug option?

create-issue-branch[bot] commented 1 year ago

Branch issue-18-npx_mudslide_latestlogin-_no_longer_works created!

robvanderleek commented 1 year ago

Hi @lightaffaire

I've also experienced this behavior, unfortunately, I haven't figured out yet what the issue with the login command is.

Logging out solves the login issue but that indeed can also fail to clear the cache properly. I've improved the logout command so it tries harder to clear the cache.

Thanks for the feedback.