Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npx mudslide not working on Rasberry Pi2 (Bookworm) #158

Closed
AuroreVgn opened this issue Dec 11, 2024 · 5 comments
Closed

npx mudslide not working on Rasberry Pi2 (Bookworm) #158

AuroreVgn opened this issue Dec 11, 2024 · 5 comments

Comments

@AuroreVgn
Copy link

AuroreVgn commented Dec 11, 2024

Hello,

I have installed mudslide on my Rasperry Pi2 running Raspbian 12 (Bookworm). It's a brand new installation.

After a successfull QR-Code registration, I have the following issue when I tried to do anything with npx mudslide command:

npx mudslide@latest groups
node:internal/modules/cjs/loader:445
      throw err;
      ^

Error: Cannot find module '/home/pi/.npm/_npx/ce95761724e6020f/node_modules/@protobufjs/float/index.js'. Please verify that the package.json has a valid "main" entry
    at tryPackage (node:internal/modules/cjs/loader:437:19)
    at Module._findPath (node:internal/modules/cjs/loader:705:18)
    at Module._resolveFilename (node:internal/modules/cjs/loader:1120:27)
    at Module._load (node:internal/modules/cjs/loader:975:27)
    at Module.require (node:internal/modules/cjs/loader:1225:19)
    at require (node:internal/modules/helpers:177:18)
    at Object.<anonymous> (/home/pi/.npm/_npx/ce95761724e6020f/node_modules/@whiskeysockets/baileys/node_modules/protobufjs/src/util/minimal.js:14:14)
    at Module._compile (node:internal/modules/cjs/loader:1356:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
    at Module.load (node:internal/modules/cjs/loader:1197:32) {
  code: 'MODULE_NOT_FOUND',
  path: '/home/pi/.npm/_npx/ce95761724e6020f/node_modules/@protobufjs/float/package.json',
  requestPath: '@protobufjs/float'
}

Node.js v18.19.0
npx mudslide@latest send [email protected] 'Hello world'
node:internal/modules/cjs/loader:445
      throw err;
      ^

Error: Cannot find module '/home/pi/.npm/_npx/ce95761724e6020f/node_modules/@protobufjs/float/index.js'. Please verify that the package.json has a valid "main" entry
    at tryPackage (node:internal/modules/cjs/loader:437:19)
    at Module._findPath (node:internal/modules/cjs/loader:705:18)
    at Module._resolveFilename (node:internal/modules/cjs/loader:1120:27)
    at Module._load (node:internal/modules/cjs/loader:975:27)
    at Module.require (node:internal/modules/cjs/loader:1225:19)
    at require (node:internal/modules/helpers:177:18)
    at Object.<anonymous> (/home/pi/.npm/_npx/ce95761724e6020f/node_modules/@whiskeysockets/baileys/node_modules/protobufjs/src/util/minimal.js:14:14)
    at Module._compile (node:internal/modules/cjs/loader:1356:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
    at Module.load (node:internal/modules/cjs/loader:1197:32) {
  code: 'MODULE_NOT_FOUND',
  path: '/home/pi/.npm/_npx/ce95761724e6020f/node_modules/@protobufjs/float/package.json',
  requestPath: '@protobufjs/float'
}

Node.js v18.19.0

I have searched on Git and I found this closed issue but I'm not really sure if it's the same problem.

Do you have any idea to solve this problem?

Thanks :-)

@robvanderleek
Copy link
Owner

Hi @AuroreVgn

Unfortunately, I don't have access to this platform and can't reproduce it on x64 Linux. So, not sure what the root cause is.
Maybe you can try the latest ARM binary? https://github.com/robvanderleek/mudslide/releases/download/0.31.0/mudslide-linuxstatic-arm64

@eliafino
Copy link

Maybe Pi2 isn't x64

@AuroreVgn
Copy link
Author

AuroreVgn commented Dec 12, 2024

Maybe Pi2 isn't x64

Thank you for your reply!

You're right... Pi2 isn't x64.

Before I re-install this Pi2, it was running Raspbian 11 and mudslide worked perfectly.

Is there any 'old version' or arm (for 32 bit) I can use?

@AuroreVgn
Copy link
Author

Hi @AuroreVgn

Unfortunately, I don't have access to this platform and can't reproduce it on x64 Linux. So, not sure what the root cause is. Maybe you can try the latest ARM binary? https://github.com/robvanderleek/mudslide/releases/download/0.31.0/mudslide-linuxstatic-arm64

Thank you for your reply!
I already use the lastest version.

npx --version
10.9.2
npx mudslide --version
0.31.0

@AuroreVgn
Copy link
Author

AuroreVgn commented Dec 12, 2024

I tried npx mudslide send [email protected] 'Hello world' without @lastest and it works....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants