Use "require('ssl-root-cas')" instead of "require('ssl-root-cas/latest')"
TypeError [ERR_INVALID_CALLBACK] [ERR_INVALID_CALLBACK]: Callback must be a function. Received undefined
at makeCallback (fs.js:143:11)
at Object.unlink (fs.js:1024:14)
at /usr/share/openhim-core/node_modules/pem/lib/pem.js:1042:20
at Array.forEach (<anonymous>)
at /usr/share/openhim-core/node_modules/pem/lib/pem.js:1041:22
at done (/usr/share/openhim-core/node_modules/pem/lib/pem.js:982:21)
at ChildProcess.<anonymous> (/usr/share/openhim-core/node_modules/pem/lib/pem.js:997:13)
at ChildProcess.emit (events.js:210:5)
at maybeClose (internal/child_process.js:1021:16)
at Socket.<anonymous> (internal/child_process.js:430:11)
at Socket.emit (events.js:210:5)
at Pipe.<anonymous> (net.js:658:12)
2019-11-17T03:14:09.026Z - warn: [master] worker 22831 died
2019-11-17T03:14:09.073Z - info: [master] worker with pid 22849 is online
Needs latest SSL Root Certificate Authority data /usr/share/openhim-core/node_modules/ssl-root-cas/ssl-root-cas-latest.js
Has anyone encountered a similar issue?
Thanks in advance for your help!
Stuardo
Os : Ubuntu 14.04.6 LTS
NodeJS : v6.17.1
openhim-core-js : 3.4.0-20~trusty
Attached files:
| Martin Brocker Team Lead martin....@jembi.org Tel: +27 21 701 0939 Jembi Health Systems | Cape Town www.jembi.org |
This e-mail contains proprietary and confidential information some or all of which may be legally privileged. It is for the intended recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail and then deleting same. If you are not the intended recipient you must not use, disclose, distribute, copy, print or rely on this e-mail. Jembi Health Systems NPO, its subsidiaries and associated companies is not liable for the security of information sent by e-mail and accepts no liability of whatsoever nature for any loss, damage or expense resulting, directly or indirectly, from the access of this e-mail or any attachments hereto. |
--
You received this message because you are subscribed to the Google Groups "Interoperability Layer (OpenHIE)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openhie-interoperabil...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openhie-interoperability-layer/7445bba5-5d1e-4366-85e7-83071947658f%40googlegroups.com.