Click here to Skip to main content
15,441,629 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Console error, node.js.

Hello, I had my node programs running, I changed the operating system to windows8 and they no longer work, I get the error in the image, apparently it seems to have to do with the "whatsapp-web.js" module and the "sharp" module, now I did what the console says and it doesn't work. I comment that if I enter the code of the module "whatsapp-web.js" and I comment the parts of the code where sharp is used, the programs work well, what could it be? someone to help me, thanks in advance.

image error:
error-sharp — ImgBB[^]

I have tried to manually install the "sharp" module inside the "whatsapp-web.js" module and it doesn't work
I have also tried to do what the console says "cmd" and it does not work either

What I have tried:

I have tried to manually install the "sharp" module inside the "whatsapp-web.js" module and it doesn't work
I have also tried to do what the console says "cmd" and it does not work either
Posted
Updated 12-Mar-22 1:26am
Comments
Patrice T 21-Nov-21 14:43pm    
What says the author of this module ?

1 solution

Image libs have havy c bindings. Looks like a binding problem to me.

Remove the modules from the project and global modules folder and maybe reinstall node and latest build tools to compile the whole modules with latest stuff on npm install.

Just update it all!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900