Giter VIP home page Giter VIP logo

mudslide's Introduction

Welcome

mudslide's People

Contributors

benkoerber avatar robvanderleek avatar semantic-release-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

mudslide's Issues

New Line have char "\"

Why after I execute the command with new line, I got "\" after that?

Example :

npx mudslide send me "Hello \nWorld"

Return:

Hello \
World

issue with adding ppl to group

Hi there, i am tring to add people to a group using mudslide but nothing happend, after some time i get this;
(i replace some numbers with an X to post here)

root@server:/var/www/html/wsp# ./mudslide-linuxstatic-x64 -c cache add-to-group [email protected] +5XXX78355X8
Adding [email protected] to group [email protected]
/snapshot/dist-ncc/index.js:99126
.then(() => reject(new boom_1.Boom('Timed Out', {
^

Error: Timed Out
at /snapshot/dist-ncc/index.js:99126:32 {
data: {
stack: 'Error\n' +
' at promiseTimeout (/snapshot/dist-ncc/index.js:99121:19)\n' +
' at waitForMessage (/snapshot/dist-ncc/index.js:95558:53)\n' +
' at query (/snapshot/dist-ncc/index.js:95580:22)\n' +
' at groupQuery (/snapshot/dist-ncc/index.js:93575:55)\n' +
' at Object.groupParticipantsUpdate (/snapshot/dist-ncc/index.js:93705:34)\n' +
' at /snapshot/dist-ncc/index.js:159:30\n' +
' at Generator.next ()\n' +
' at fulfilled (/snapshot/dist-ncc/index.js:13:58)\n' +
' at processTicksAndRejections (node:internal/process/task_queues:96:5)'
},
isBoom: true,
isServer: false,
output: {
statusCode: 408,
payload: {
statusCode: 408,
error: 'Request Time-out',
message: 'Timed Out'
},
headers: {}
}
}

Mudslide stopped working.

Mudslide stopped to work today.
Commands entered does not leave any output, and the messagens aren´t sent.
I hope this command helps.
Thank you very much.

EDITED@whatsapp:~$ npx mudslide@latest -vvv me
Cache folder: /home/EDITED/.local/share/mudslide
{"level":30,"time":1684983897620,"pid":5432,"hostname":"whatsapp","browser":["Linux","Chrome","10.15.0"],"helloMsg":{"clientHello":{"ephemeral":"lC1JEjcWoJng5eLFM1MdLrE51i5Plm1KucMpw7NaQxQ="}},"msg":"connected to WA Web"}
{"level":10,"time":1684983897763,"pid":5432,"hostname":"whatsapp","class":"ns","msg":"recv 350 bytes, total recv 350 bytes"}
{"level":10,"time":1684983897763,"pid":5432,"hostname":"whatsapp","class":"ns","msg":"recv frame"}
{"level":10,"time":1684983897764,"pid":5432,"hostname":"whatsapp","handshake":{"serverHello":{"ephemeral":"A/qH6uAWuGmg5Gx61RvtsSNjpqh2WtKR+GmApNMRFU4=","static":"u4zrByVSSqe8XUNehp6oqbTQo52D/XCftrJqGw4658W/FJFgea50w9sFdJBcAud/","payload":"TkARipn0fxlztxxp/+N6tDzOb7SB5CHRZLXlxs1Mi4gk1je/NTQix1ahHrto4g9XdFil5C+6TmcAoTuhD0m0ThD2qxIHjp4ow39XIZZl8kP8MdDRxkUFCxURnd50c8Z+8eURu1Kn3t0UxZ4/+Hgo39NPh8tqoFQ2XZ4XEAwVabwYYCKl93W8qoMFZIBVhfYrJoUTT2/+TDQIPVDyQzIjJChWawzM+BWEnKofg4VhWA4Wk5dG5sEz/k/eQM50UEaHOjS6B5JejPpWS/S2gKMges0FrxjGFjIg6czjH72vdcNI+aUiqwhoYX6ERWo+Y4meWBogNtv2QJZ8b21MNUt3H0k="}},"msg":"handshake recv from WA Web"}
{"level":30,"time":1684983897771,"pid":5432,"hostname":"whatsapp","node":{"username":"EDITED","passive":true,"userAgent":{"platform":"WEB","appVersion":{"primary":2,"secondary":2243,"tertiary":7},"mcc":"000","mnc":"000","osVersion":"0.1","manufacturer":"","device":"Desktop","osBuildNumber":"0.1","releaseChannel":"RELEASE","localeLanguageIso6391":"en","localeCountryIso31661Alpha2":"US"},"webInfo":{"webSubPlatform":"WEB_BROWSER"},"connectType":"WIFI_UNKNOWN","connectReason":"USER_ACTIVATED","device":13},"msg":"logging in..."}
{"level":10,"time":1684983897986,"pid":5432,"hostname":"whatsapp","class":"ns","msg":"recv 40 bytes, total recv 40 bytes"}
{"level":10,"time":1684983897987,"pid":5432,"hostname":"whatsapp","class":"ns","msg":"recv frame"}
{"level":10,"time":1684983897987,"pid":5432,"hostname":"whatsapp","fromMe":false,"frame":{"tag":"failure","attrs":{"reason":"401","location":"rva"}},"msg":"communication"}
{"level":30,"time":1684983897987,"pid":5432,"hostname":"whatsapp","trace":"Error: Connection Failure\n at WebSocket. (/home/EDITED/.npm/_npx/ce95761724e6020f/node_modules/@adiwajshing/baileys/lib/Socket/socket.js:429:13)\n at WebSocket.emit (node:events:513:28)\n at WebSocket.emit (node:domain:489:12)\n at /home/EDITED/.npm/_npx/ce95761724e6020f/node_modules/@adiwajshing/baileys/lib/Socket/socket.js:222:35\n at Object.decodeFrame (/home/EDITED/.npm/_npx/ce95761724e6020f/node_modules/@adiwajshing/baileys/lib/Utils/noise-handler.js:131:17)\n at WebSocket.onMessageRecieved (/home/EDITED/.npm/_npx/ce95761724e6020f/node_modules/@adiwajshing/baileys/lib/Socket/socket.js:198:15)\n at WebSocket.emit (node:events:513:28)\n at WebSocket.emit (node:domain:489:12)\n at Receiver.receiverOnMessage (/home/EDITED/.npm/_npx/ce95761724e6020f/node_modules/ws/lib/websocket.js:1184:20)\n at Receiver.emit (node:events:513:28)","msg":"connection errored"}

Feature request: add caption text to send-image command

  1. very usefull script. Thanks.

  2. would be great if one could add a caption text when posting images ie.

$ npx mudslide send-image me /tmp/test.jpg 'caption text to image'
or
$ npx mudslide send-image me /tmp/test.jpg send-image-text 'caption text to image'

otherwise loving it!

add --caption to send-file

$ npx mudslide@latest send-file me /tmp/file.txt --caption "here is the file"

make send-file the same as send-image and allow --caption option

Feature request: npx mudslide users

Add 'mudslide users' to either:

  1. list all single phone users from address book

or

  1. list all single phone users currently in WA chat window/screen { "id": "number", "name": "users name in WA"}

Audio and video upload!

Dear,

I start by apologizing, because I'm Brazilian and I'm still learning to write in English. I found this fantastic solution.

I would like to know how I can send *.mp3 or *.ogg audios with this solution. I would also like to be able to upload videos.

I'm waiting for responses.

Yours sincerely,

Henrique Fagundes
Project Manager Aprendendo Linux

banning numbers

hi , thank you , it working well , but my number banned after first message to me , plz what to avoid the banning

Fails to run within bash script

I'm trying to use mudslide within a bash script that is scheduled to run via crontab but it fails.
Using the pre-compiled release on x64 platform.
When testing manually I get this error...
I feel like it'll probably be a simple one to resolve - any ideas?

node:internal/bootstrap/switches/does_own_process_state:126
    cachedCwd = rawMethods.cwd();
                           ^

Error: ENOENT: no such file or directory, uv_cwd
    at process.wrappedCwd (node:internal/bootstrap/switches/does_own_process_state:126:28)
    at process.cwd (/snapshot/dist-ncc/index.js:114621:19)
    at node:path:1082:24
    at Object.resolve (node:path:1096:39)
    at Function.sync (/snapshot/dist-ncc/index.js:123041:17)
    at Function.sync (/snapshot/dist-ncc/index.js:122984:20)
    at Signale.get packageConfiguration [as packageConfiguration] (/snapshot/dist-ncc/index.js:131450:20)
    at new Signale (/snapshot/dist-ncc/index.js:131389:39)
    at Object.528 (/snapshot/dist-ncc/index.js:129436:32)
    at __nccwpck_require__ (/snapshot/dist-ncc/index.js:153161:43) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'uv_cwd'
}

Cannot Send Messages Anymore, Connection Error

Hello, I'm working on an app to automatically send WhatsApp messages to groups, this was previously working on replit.com, however, it has for some reason stopped working suddenly. This is what i tried in the command line:




``` ~/DopeyWorrisomeDatasets$ node ./node_modules/mudslide/dist/index.js send me "HELLOO" -v {"level":30,"time":1686561186581,"pid":565,"hostname":"180d1982ff8e","browser":["Linux","Chrome","10.15.0"],"helloMsg":{"clientHello":{"ephemeral":"MgbVX67Km0S4rIVw5Zts8TZ0VXToSS0QE9R+9aTFqQg="}},"msg":"connected to WA Web"} {"level":30,"time":1686561186686,"pid":565,"hostname":"180d1982ff8e","node":{"username":"6591380435","passive":true,"userAgent":{"platform":"WEB","appVersion":{"primary":2,"secondary":2243,"tertiary":7},"mcc":"000","mnc":"000","osVersion":"0.1","manufacturer":"","device":"Desktop","osBuildNumber":"0.1","releaseChannel":"RELEASE","localeLanguageIso6391":"en","localeCountryIso31661Alpha2":"US"},"webInfo":{"webSubPlatform":"WEB_BROWSER"},"connectType":"WIFI_UNKNOWN","connectReason":"USER_ACTIVATED","device":58},"msg":"logging in..."} {"level":30,"time":1686561189837,"pid":565,"hostname":"180d1982ff8e","trace":"Error: Connection Failure\n at WebSocket. (/home/runner/DopeyWorrisomeDatasets/node_modules/@adiwajshing/baileys/lib/Socket/socket.js:429:13)\n at WebSocket.emit (node:events:513:28)\n at WebSocket.emit (node:domain:489:12)\n at /home/runner/DopeyWorrisomeDatasets/node_modules/@adiwajshing/baileys/lib/Socket/socket.js:222:35\n at Object.decodeFrame (/home/runner/DopeyWorrisomeDatasets/node_modules/@adiwajshing/baileys/lib/Utils/noise-handler.js:131:17)\n at WebSocket.onMessageRecieved (/home/runner/DopeyWorrisomeDatasets/node_modules/@adiwajshing/baileys/lib/Socket/socket.js:198:15)\n at WebSocket.emit (node:events:513:28)\n at WebSocket.emit (node:domain:489:12)\n at Receiver.receiverOnMessage (/home/runner/DopeyWorrisomeDatasets/node_modules/ws/lib/websocket.js:1184:20)\n at Receiver.emit (node:events:513:28)","msg":"connection errored"} ```


Am I the only one with this problem? How can I fix it?

Unable to send messages

unable to send a message using the command npx mudslide@latest send me 'hello' after executing the command, I get the response as 'success Done' but on the WhatsApp app no message was received.

x86 pre-compiled not working again....

So...i updated fron 0.20.1 that was working perfect to the last version of x86_64 for linux and now i am getting this error (dependency problem?), i tried to fix it removing the data/config folder but didnt work.

root@server:~/scripts/wsp# ./mudslide-linuxstatic-x64 login
node:internal/modules/cjs/loader:933
  const err = new Error(message);
              ^

Error: Cannot find module './718.index.js'
Require stack:
- /snapshot/dist-ncc/index.js
1) If you want to compile the package/file into executable, please pay attention to compilation warnings and specify a literal in 'require' call. 2) If you don't want to compile the package/file into executable and want to 'require' it from filesystem (likely plugin), specify an absolute path in 'require' call using process.cwd() or process.execPath.
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function._resolveFilename (pkg/prelude/bootstrap.js:1951:46)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at Module.require (pkg/prelude/bootstrap.js:1851:31)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.require (/snapshot/dist-ncc/index.js)
    at /snapshot/dist-ncc/index.js
    at Array.reduce (<anonymous>)
    at Function.e (/snapshot/dist-ncc/index.js) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [ '/snapshot/dist-ncc/index.js' ],
  pkg: true
}
root@server:~/scripts/wsp#

Will Old Command not work in latest version

Hello
As I have been Running Mudslide V 0.12 but now its updated to 0.18 , now want to know that old command npx mudslide [command] will not run in the updated version as i am facing isssue that some messages are delivery some not . Is Old Command line not working

Thank You
Vikram

Cannot install

Screenshot 2023-04-27 at 13 59 49

Hey, i am trying to install it but it keeps failing. What can i do? Ubuntu server on AWS

happens when i run "sudo npm install -g mudslide"

"npx mudslide@latest -V" gave me this

Screenshot 2023-04-27 at 14 02 13

Add the ability to change the label that whatsapp app sees in linked devices

When I look at the linked devices to my whatsapp account I see something like:

Chrome(Windows)
Firefox(Linux)
Chrome(Baileys)

It would be useful and probably prudent to allow mudslide to register itself as:

Firefox|Chrome (Windows | Linux)

Whatsapp/Meta could easily block anything with Baileys on the linked device string so conform to whats usually visable.

new features

Hi,
first thing first,
I was looking for something like "mudslide" and it actually works
but I have a question: Is there a way to implement the possibility to receive messages from whatsapp users,
from the command line?

,
Thank you
I hope you will continue to update this project!

how to send images?

can i send whatsapp messages with image using this script?.If not availerble I hope you add this feature

Spaces in Path or file name not supported when sending image or document

Hi,

Thanks from closing issue no. 42. The program is working correctly now. However, I now find that when sending image or document spaces either in path of file name is not supported. I am working in Windows environment.

Consider the following path for an image:
H:\Billing\Images\Do not delete\Albroz\Adlid\Adlid 13.jpg

Mudslide is not able to send this as there are spaces in the directory name and the file name.

How to overcome this ?

Warm regards,

Jayadev

Message New Line issue

When I try to add new line character as '\n' single slash replaces with double slash.

How to Update the Vesrion

I m trying to update the muslide version from 11 to 12 but my all system have been updated to 12 but one system still showing 11 how to update from 11 to updated version . is their any command to update if then please share the command .

Not sending messages on Ubuntu operating system

In windows messages are sent, but in ubuntu - no.

root@host112:/home# /usr/bin/npx mudslide@latest me
Cache folder: /root/.local/share/mudslide
Current user: **********3:[email protected]

root@host112:/home# /usr/bin/npx mudslide@latest send **********2 "321"
… awaiting Sending message: "321" to: **********[email protected]
✔ success Done
… awaiting Waiting 3 second(s) for successful delivery...

error after update

Hi,

it shows error after update

C:\Users\Lenovo\AppData\Local\npm-cache_npx\ce95761724e6020f\node_modules\mudslide\dist\commands.js:27
const buttons = options.button.map((b, idx) => ({
^

TypeError: Cannot read properties of undefined (reading 'map')
at C:\Users\Lenovo\AppData\Local\npm-cache_npx\ce95761724e6020f\node_modules\mudslide\dist\commands.js:27:48
at Generator.next ()
at fulfilled (C:\Users\Lenovo\AppData\Local\npm-cache_npx\ce95761724e6020f\node_modules\mudslide\dist\commands.js:5:58)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Node.js v18.16.0

Getting Issue Reading Pdf Files path

Hello
Getting issuse in Reading path after space it doesnot read the complete path for ex. my file is in D:\Tmp\pdf\abc - Abc123.pdf but after D:\Tmp\pdf\abc it doesnt read .Please Solve the issuse how to read the complete path of any file .

Thank you
Vikram Chhajer

While Sending The File Getting this Error
(c) Microsoft Corporation. All rights reserved.

C:\Users\vikra>npx mudslide@latest send-file 9193********* E:\Sync\P M GRUP\2223\PM IM\2223\Invoice\DN-2200008-abc.pdf
× error Could not read image file: E:\Sync\P

Footer and Buttons are not working

Dear,
First of all Thanks a lot for creating this project. I am loving it 👍

Just a few things I observed not working as you have explained in redme
1] Footer -
When I do
npx mudslide@latest send me 'hello\nworld' --footer 'Bye!'

I get "hello world" as expected in 2 lines, but I do not see any "Bye"

2] Buttons -
When I do
npx mudslide@latest send me 'Everyone ready?' -b 'yes' -b 'no'

I get nothing ! ... Not even the message "Everyone ready?"

Pls check ...

No output from npx mudslide@latest on raspberry pi 4

Hi
I'm using raspberry pi 4 and for some reason I just can't get mudslide to work. It worked before and just stopped but does not give me any debug information.

$ npx mudslide@latest login $

I tried upgrading everything. The binary doesn't work

`$ ./mudslide-linuxstatic-arm64
node:internal/modules/cjs/loader:936
throw err;
^

Error: Cannot find module '/snapshot/dist-ncc/index.js'
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function._resolveFilename (pkg/prelude/bootstrap.js:1955:46)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Function.runMain (pkg/prelude/bootstrap.js:1983:12)
at node:internal/main/run_main_module:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}`

and as for docker, I just can't figure out what I'm doing wrong:

`$ docker run -v /home/user/.local/share/mudslide:/usr/src/app/cache mudslide me
node:internal/modules/cjs/loader:1078
throw err;
^

Error: Cannot find module '/me'
at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15)
at Module._load (node:internal/modules/cjs/loader:920:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:23:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}

Node.js v18.15.0`

Needless to say I'm using the latest version

Any help would be apreciated (I have tested the win and x64 binaries and they work. maybe just fix the arm64 MODULE_NOT_FOUND package)

Latest version (0.21.0) fails in Windows 11 64bit stable

Throws below error on command line

mudslide.exe login
node:internal/modules/cjs/loader:933
const err = new Error(message);
^

Error: Cannot find module './718.index.js'
Require stack:

  • C:\snapshot\dist-ncc\index.js
  1. If you want to compile the package/file into executable, please pay attention to compilation warnings and specify a literal in 'require' call. 2) If you don't want to compile the package/file into executable and want to 'require' it from filesystem (likely plugin), specify an absolute path in 'require' call using process.cwd() or process.execPath.
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function._resolveFilename (pkg/prelude/bootstrap.js:1951:46)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at Module.require (pkg/prelude/bootstrap.js:1851:31)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.require (C:\snapshot\dist-ncc\index.js)
    at C:\snapshot\dist-ncc\index.js
    at Array.reduce ()
    at Function.e (C:\snapshot\dist-ncc\index.js) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [ 'C:\snapshot\dist-ncc\index.js' ],
    pkg: true
    }

How to send content which is inside a TXT file?

Hi, I'm trying to send a whatsapp text message with the content inside a TXT file but I'm not able to.

I know this might be a really basic problem but I'm not linux nor npx savvy.

I'm using the command:

cat /tmp/FILE.txt | npx mudslide send me --stdin

info: list users

I opened an issue on the baileys repo concerning if list users is possible.

I received an answer which may well be of use to mudslide:

await client.groupFetchAllParticipating()

Run behind the Proxy

Is it possible to run behind the corporate proxy.
Currently, when run while proxy set, no output given to console.

Read messages?

Hi.

Is there the ability to receive messages sent to @me, or to a group? mudslide --help only shows send commands, but not read commands.

TIA.

Docker Run / Login command missing image name

Hi , thanks so much for putting this together. I followed the instructions to build and run the container image. However, I feel that the command to start the container and run the login command should read

docker run -v /home/<USERNAME>/.local/share/mudslide:/usr/src/app/cache mudslide login

The image name, i.e. mudslide, appears to be missing in the Readme.

Cheers

Cannot use new line "\n" in Image caption

"\n" new line works perfectly fine in send message.
But I can's seem to do the same for image caption.
It will just appear as text instead of breaking a new line.
Just wonder if there is a way to get around it or will you implement this in future?
Thank you!

Cannot find module writer

Keep getting this error when trying to run the npx mudslide@latest -V command. Have tried this with the latest node version as well as version 16 LTS but get the same error on both. Any help would be appreciated.

node:internal/modules/cjs/loader:1031
  throw err;
  ^

Error: Cannot find module './writer'
Require stack:
- /home/sajid98/.npm/_npx/ce95761724e6020f/node_modules/protobufjs/src/index-minimal.js
- /home/sajid98/.npm/_npx/ce95761724e6020f/node_modules/protobufjs/minimal.js
- /home/sajid98/.npm/_npx/ce95761724e6020f/node_modules/@whiskeysockets/baileys/WAProto/index.js
- /home/sajid98/.npm/_npx/ce95761724e6020f/node_modules/@whiskeysockets/baileys/lib/Defaults/index.js
- /home/sajid98/.npm/_npx/ce95761724e6020f/node_modules/@whiskeysockets/baileys/lib/Socket/index.js
- /home/sajid98/.npm/_npx/ce95761724e6020f/node_modules/@whiskeysockets/baileys/lib/index.js
- /home/sajid98/.npm/_npx/ce95761724e6020f/node_modules/mudslide/dist/whatsapp.js
- /home/sajid98/.npm/_npx/ce95761724e6020f/node_modules/mudslide/dist/index.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1028:15)
    at Function.Module._load (node:internal/modules/cjs/loader:873:27)
    at Module.require (node:internal/modules/cjs/loader:1100:19)
    at require (node:internal/modules/cjs/helpers:119:18)
    at Object.<anonymous> (/home/sajid98/.npm/_npx/ce95761724e6020f/node_modules/protobufjs/src/index-minimal.js:13:25)
    at Module._compile (node:internal/modules/cjs/loader:1198:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
    at Module.load (node:internal/modules/cjs/loader:1076:32)
    at Function.Module._load (node:internal/modules/cjs/loader:911:12)
    at Module.require (node:internal/modules/cjs/loader:1100:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/home/sajid98/.npm/_npx/ce95761724e6020f/node_modules/protobufjs/src/index-minimal.js',
    '/home/sajid98/.npm/_npx/ce95761724e6020f/node_modules/protobufjs/minimal.js',
    '/home/sajid98/.npm/_npx/ce95761724e6020f/node_modules/@whiskeysockets/baileys/WAProto/index.js',
    '/home/sajid98/.npm/_npx/ce95761724e6020f/node_modules/@whiskeysockets/baileys/lib/Defaults/index.js',
    '/home/sajid98/.npm/_npx/ce95761724e6020f/node_modules/@whiskeysockets/baileys/lib/Socket/index.js',
    '/home/sajid98/.npm/_npx/ce95761724e6020f/node_modules/@whiskeysockets/baileys/lib/index.js',
    '/home/sajid98/.npm/_npx/ce95761724e6020f/node_modules/mudslide/dist/whatsapp.js',
    '/home/sajid98/.npm/_npx/ce95761724e6020f/node_modules/mudslide/dist/index.js'
  ]
}

npx mudslide@latest login - no longer works

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?

nvm

nvm, pls close

Unexpected token =

No matter what I do I get an "Unexpected token =" error message.

daniel@instance-1:~$ npx mudslide --help
Unexpected token =
daniel@instance-1:~$ npx mudslide login
Unexpected token =
daniel@instance-1:~$ npx --version
5.8.0
daniel@instance-1:~$ node --version
v10.24.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.