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

Is this stopped work?

Open fillipenorton opened this issue 2 years ago • 3 comments

Hi everyone, since yesterday my application stopped of work

I have the following message on my terminal:

Express-file-upload: Request is not eligible for file upload!

UnhandledPromiseRejectionWarning: Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'default')

Is anyone going through this error?

thanks!

fillipenorton avatar Nov 25 '21 03:11 fillipenorton

Express-file-upload: Request is not eligible for file upload!

I was mentioned it in the tutorial, you can disable the debug for file upload.

UnhandledPromiseRejectionWarning: Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'default')

Try to add catch when initialize the client, like so:

client.initialize().catch(err => {
  console.log(err);
})

ngekoding avatar Nov 25 '21 06:11 ngekoding

image

Masih tetap ndak bisa om, ada solusi lain?

heriistantoo avatar Nov 29 '21 13:11 heriistantoo

Hi everyone, since yesterday my application stopped of work

I have the following message on my terminal:

Express-file-upload: Request is not eligible for file upload!

UnhandledPromiseRejectionWarning: Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'default')

Is anyone going through this error?

thanks!

Found a solution (for me) https://github.com/pedroslopez/whatsapp-web.js/issues/1019 just need to upgrade whatsapp-web.js dependencies to 1.15.2 . Hope this answers your question.

heriistantoo avatar Nov 29 '21 14:11 heriistantoo