I want to extract a chart from ChartJS as an Image within NodeJS. I am currently using chartjs-node-canvas for this purpose. Using this package, I am able to generate images on my local machine (both windows10 - 64bit & ubuntu) but we are getting error on server (windows10 - 32bit). Please find an image of the error attached here image
error: Error: The specified module could not be found
node_modules\canvas\build\Release\canvas.node
I have also checked under the node_module folder at that location and can find the file image
I have removed package-lock.json & node_modules and then reinstalled all packages, but the error still persists.