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

I do all perfect, but i get this error. #2

Closed
Alizee187 opened this issue May 31, 2022 · 1 comment
Closed

I do all perfect, but i get this error. #2

Alizee187 opened this issue May 31, 2022 · 1 comment

Comments

@Alizee187
Copy link

Error: Cannot find module '/root/bot/node_modules/@adiwajshing/baileys/lib/index.js'. Please verify that the package.json has a valid "main" entry
at tryPackage (node:internal/modules/cjs/loader:353:19)
at Function.Module._findPath (node:internal/modules/cjs/loader:566:18)
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:27)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (/root/bot/main.js:7:5)
at Module._compile (node:internal/modules/cjs/loader:1103:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
at Module.load (node:internal/modules/cjs/loader:981:32) {
code: 'MODULE_NOT_FOUND',
path: '/root/bot/node_modules/@adiwajshing/baileys/package.json',
requestPath: '@adiwajshing/baileys'
}

@Aiinne
Copy link
Owner

Aiinne commented May 31, 2022

Use RDP/VPS/PANEL/HEROKU/OKTETO

TERMUX I DON'T KNOW ABOUT THAT, SUPPORT OR NOT

@Aiinne Aiinne closed this as completed May 31, 2022
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

2 participants