WhatsAPI - A multi-purpose WhatsApp API

miarcoles

Member
Apr 11, 2019
60
25
18

I have successfully run the sample laravel project.

I have successfully run the API in windows and ubuntu environment.
While creating a new instance, I get the following error after reading the QR. Are you experiencing the same problem?

Code:
(node:14356) UnhandledPromiseRejectionWarning: Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'LegacyPhoneFeatures')
    at __puppeteer_evaluation_script__:13:76
    at ExecutionContext._evaluateInternal (C:\snapshot\WhatsAPI\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:221:19)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async ExecutionContext.evaluate (C:\snapshot\WhatsAPI\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:110:16)
    at async Client.initialize (C:\snapshot\WhatsAPI\node_modules\whatsapp-web.js\src\Client.js:267:9)
(Use `whatsapi-win --trace-warnings ...` to show where the warning was created)
(node:14356) 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:14356) [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.
 

PaulistaBolado

New member
May 7, 2021
6
1
3
Localhost
I have successfully run the sample laravel project.

I have successfully run the API in windows and ubuntu environment.
While creating a new instance, I get the following error after reading the QR. Are you experiencing the same problem?

Code:
(node:14356) UnhandledPromiseRejectionWarning: Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'LegacyPhoneFeatures')
    at __puppeteer_evaluation_script__:13:76
    at ExecutionContext._evaluateInternal (C:\snapshot\WhatsAPI\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:221:19)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async ExecutionContext.evaluate (C:\snapshot\WhatsAPI\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:110:16)
    at async Client.initialize (C:\snapshot\WhatsAPI\node_modules\whatsapp-web.js\src\Client.js:267:9)
(Use `whatsapi-win --trace-warnings ...` to show where the warning was created)
(node:14356) 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:14356) [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.
Hello, u can help talking how to put the example to run on host ? php -v and etc? thx
 

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu