You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been using canvas in my project for about a week and it has been working fine, a few days ago it started causing errors with node-gyp when adding and removing packages on yarn when it tried linking dependencies, but I ignored it as the packages were still able to be used, I just had to remove them manually if I didn't need them anymore, everything else was working fine, but now today when I launched up my project to begin developing, it has spewed out this error:
Error: The specified procedure could not be found.
\\?\D:\Documents\Oranges utilities nextjs api\oranges-utilities-dashboard\node_modules\canvas\build\Release\canvas.node
at Module._extensions..node (node:internal/modules/cjs/loader:1233:18)
at Module.load (node:internal/modules/cjs/loader:1027:32)
at Module._load (node:internal/modules/cjs/loader:868:12)
at Module.require (node:internal/modules/cjs/loader:1051:19)
at require (node:internal/modules/cjs/helpers:103:18)
at Object.<anonymous> (D:\Documents\Oranges utilities nextjs api\oranges-utilities-dashboard\node_modules\canvas\lib\bindings.js:3:18)
at Module._compile (node:internal/modules/cjs/loader:1149:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1203:10)
at Module.load (node:internal/modules/cjs/loader:1027:32)
at Module._load (node:internal/modules/cjs/loader:868:12) {
code: 'ERR_DLOPEN_FAILED',
page: '/dashboard/[id]'
}
Your Environment
Version of node-canvas: 2.10.2
Environment: node 18.10.0 on Windows 10 Pro Build 19044
The text was updated successfully, but these errors were encountered:
I found out that another project I had running was using sharp so I uninstalled that and now everything works. So if anyone else gets this issue: if you sharp installed in any project that's running, that's probably causing the issue, it doesn't matter if it's in the same project as the one that's getting the error.
Issue or Feature
I have been using canvas in my project for about a week and it has been working fine, a few days ago it started causing errors with node-gyp when adding and removing packages on yarn when it tried linking dependencies, but I ignored it as the packages were still able to be used, I just had to remove them manually if I didn't need them anymore, everything else was working fine, but now today when I launched up my project to begin developing, it has spewed out this error:
Your Environment
The text was updated successfully, but these errors were encountered: