Sharp and Canvas error on Node

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.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server