whatsapp-api-tutorial icon indicating copy to clipboard operation
whatsapp-api-tutorial copied to clipboard

Cannot read properties of undefined (reading 'WidFactory')

Open ZeALer opened this issue 3 years ago • 0 comments

Saya baru update semuanya dan setelah diupdate malah gak mau jalan sama sekali. Gagal saat mau nampilin QR Code nya.

[nodemon] 2.0.19 [nodemon] to restart at any time, enter rs [nodemon] watching path(s): . [nodemon] watching extensions: js,mjs,json [nodemon] starting node app.js App running on *: 8000 Express-file-upload: Busboy finished parsing request. C:\wapi\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:221 throw new Error('Evaluation failed: ' + helper_js_1.helper.getExceptionMessage(exceptionDetails)); ^

Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'WidFactory') at puppeteer_evaluation_script:2:38 at ExecutionContext._evaluateInternal (C:\wapi\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:221:19) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async ExecutionContext.evaluate (C:\wapi\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:110:16) at async Client.getNumberId (C:\wapi\node_modules\whatsapp-web.js\src\Client.js:951:16) at async Client.isRegisteredUser (C:\wapi\node_modules\whatsapp-web.js\src\Client.js:937:24) at async checkRegisteredNumber (C:\wapi\app.js:166:24) at async C:\wapi\app.js:191:30 [nodemon] app crashed - waiting for file changes before starting...

dicoba di node v16.16.0 dan v18.5.0 keduanya menampilkan eror yang sama. Saya coba setup ulang lagi semuanya dari awal, tapi masih sama.

ZeALer avatar Jul 10 '22 12:07 ZeALer