pedroslopez / whatsapp-web.js

A WhatsApp client library for NodeJS that connects through the WhatsApp Web browser app
https://wwebjs.dev
Apache License 2.0
15.08k stars 3.59k forks source link

Could not find browser revision 818858 #604

Closed uzirahman closed 3 years ago

uzirahman commented 3 years ago

i am using server ubuntu v 16.04.3 LTS

(node:11444) UnhandledPromiseRejectionWarning: Error: Could not find browser revision 818858. Run "PUPPETEER_PRODUCT=firefox npm install" or "PUPPETEER_PRODUCT=firefox yarn install" to download a supported Firefox browser binary. at ChromeLauncher.launch (/home/botwa/whatsapp-api/node_modules/puppeteer/lib/cjs/puppeteer/node/Launcher.js:79:23) at async Client.initialize (/home/botwa/whatsapp-api/node_modules/whatsapp-web.js/src/Client.js:67:25) (node:11444) 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:11444) [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. Mysql Connected... Express-file-upload: Request is not eligible for file upload!

01

02

KeruMx commented 3 years ago

i think the puppeteer and the library only works with google chrome.

ardynatz commented 3 years ago

try re installing puppeteer brother! npm install puppeteer

PurpShell commented 3 years ago

This issue is not clear, though seems like some end-user question..

Closing this issue, you are welcome to open it again if you think this was done in error.

Links:

Best regards,

PurpShell