I am trying to convert my nodejs application into an .exe file. I am stuck with the canvas module(npm install @tensorflow/tfjs canvas
). For some reason,nw.js is not able to load this module.
This is the line for which I am getting the error :
const canvas = require("canvas");
And this is the error :
I did go through this but unfortunately it didn’t help.
My node version is : 16.10.10 and nw.js version is : 0.57.1. Using Windows10.
Is there any way in which this can be solved ? Thanks.