neoxr / neoxr-bot

Baileys WhatsApp Bot
https://api.neoxr.my.id
158 stars 322 forks source link

gak bisa re-scan QR bang... node 14.x #58

Closed joe-arms closed 11 months ago

joe-arms commented 11 months ago

(node:1872) UnhandledPromiseRejectionWarning: TypeError [ERR_UNKNOWN_ENCODING]: Unknown encoding: base64url at Buffer.toString (buffer.js:802:11) at initAuthCreds (C:\Users\Administrator\neoxr-bot\node_modules\@adiwajshing\baileys\lib\Utils\auth-utils.js:194:74) at useMultiFileAuthState (C:\Users\Administrator\neoxr-bot\node_modules\@adiwajshing\baileys\lib\Utils\use-multi-file-auth-state.js:46:82) at async connect (C:\Users\Administrator\neoxr-bot\client.js:32:33) (Use node --trace-warnings ... to show where the warning was created) (node:1872) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) (node:1872) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.