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

Can't launch on linux arm64 #227

Open
ROCKNITE-STUDIO opened this issue Jan 25, 2025 · 1 comment
Open

Can't launch on linux arm64 #227

ROCKNITE-STUDIO opened this issue Jan 25, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@ROCKNITE-STUDIO
Copy link

ROCKNITE-STUDIO commented Jan 25, 2025

Bug description
I can't launch on linux arm64...

To Reproduce
Steps to reproduce the behavior:
launch the program on raspberry pi os arm64

Logs

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

Error: Cannot find module '/snapshot/WhatsAppToDiscord/out.js'
    at Module._resolveFilename (node:internal/modules/cjs/loader:946:15)
    at Function._resolveFilename (pkg/prelude/bootstrap.js:1951:46)
    at Module._load (node:internal/modules/cjs/loader:787:27)
    at Function.runMain (pkg/prelude/bootstrap.js:1979:12)
    at node:internal/main/run_main_module:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

Node.js v18.5.0

Platform

  • OS: Raspberri py os arm64
@ROCKNITE-STUDIO ROCKNITE-STUDIO added the bug Something isn't working label Jan 25, 2025
@weskerty
Copy link

Baileys requires NodeLTS, not 18, I think that is no longer supported.
To switch to an updated repository on Debian is:

curl -fsSL https://deb.nodesource.com/setup_lts.x -o nodesource_setup.sh
sudo -E bash nodesource_setup.sh
sudo apt-get install -y nodejs

Also, try running it directly from the repo and not from the binary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants