Shashank3736 / captcha-canvas

A captcha generator by using skia-canvas.
https://captcha-canvas.js.org
Apache License 2.0
61 stars 11 forks source link

My VPS partition failed, and I'm reinstalling dependencies #29

Closed MistakingManx closed 3 years ago

MistakingManx commented 3 years ago
internal/modules/cjs/loader.js:1057
  return process.dlopen(module, path.toNamespacedPath(filename));
                 ^

Error: libfontconfig.so.1: cannot open shared object file: No such file or directory
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:1057:18)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.<anonymous> (/manxy/API/node_modules/skia-canvas/lib/index.js:23:29)

How do I go about fixing this?

Shashank3736 commented 3 years ago

Share the code where you get this error from.

MistakingManx commented 3 years ago

I fixed it by apt installing something, I don't remember what it is anymore though. Thank you for the swift response!