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

Not working. #62

Open
Alizee187 opened this issue Oct 25, 2022 · 1 comment
Open

Not working. #62

Alizee187 opened this issue Oct 25, 2022 · 1 comment

Comments

@Alizee187
Copy link

TypeError: useSingleFileAuthState is not a function
at Object. (/root/kata1/main.js:1:5293)
at Module._compile (node:internal/modules/cjs/loader:1159:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
at Module.load (node:internal/modules/cjs/loader:1037:32)
at Module._load (node:internal/modules/cjs/loader:878:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:23:47

Node.js v18.11.0
Exited with code: null

@HackyN00b
Copy link

chnage these line in package,json

    "@adiwajshing/baileys": "github:amiruldev20/baileys",

to

    "@adiwajshing/baileys": "^4.1.0",

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