canvas.node

Being on this canvas.node errors for some hours and i have tried so many solutions but yet, nothing is working. node:internal/modules/cjs/loader:1203 return process.dlopen(module, path.toNamespacedPath(filename)); ^ Error: The specified procedure could not be found. \\?\..api\node_modules\canvas\build\Release\canvas.node
2 Replies
benten
benten2y ago
we really need more info than this tbh
Leke
Leke2y ago
I have a project I'm trynna run for the first time, the codebase is an API backend written with express, so I tried running npm install script on it but some errors showed up about sharp and canvas which I really did install the two packages separately but when I tried running the project this error below keeps coming up.
node:internal/modules/cjs/loader:1203
return process.dlopen(module, path.toNamespacedPath(filename));
^

Error: The specified procedure could not be found.
\\?\..api\node_modules\canvas\build\Release\canvas.node
node:internal/modules/cjs/loader:1203
return process.dlopen(module, path.toNamespacedPath(filename));
^

Error: The specified procedure could not be found.
\\?\..api\node_modules\canvas\build\Release\canvas.node
I've seen some discussion regarding sharp and canvas that sharp wont run canvas which is why keep getting this error.
Want results from more Discord servers?
Add your server