Библиотека svg2png не работает на Debian-Buster - PullRequest
0 голосов
/ 06 апреля 2020

Я использую библиотеку svg2png npm, чтобы конвертировать SVG в PNG файлы. Он работает на локальном, но не в интеграционной среде. Я использую ОС Debian-Burst, и я установил Phatom js на этом. когда я пытаюсь конвертировать файл, я получаю сообщение об ошибке ниже.

{"Message": "Command failed: /app/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs /app/node_modules/svg2png/lib/converter.js {\"width\":116,\"height\":116}\nAuto configuration failed\n140345837883008:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:185:filename(libssl_conf.so): libssl_conf.so: cannot open shared object file: No such file or directory\n140345837883008:error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:244:\n140345837883008:error:0E07506E:configuration file routines:MODULE_LOAD_DSO:error loading dso:conf_mod.c:285:module=ssl_conf, path=ssl_conf\n140345837883008:error:0E076071:configuration file routines:MODULE_RUN:unknown module name:conf_mod.c:222:module=ssl_conf\n",}
...