Reputation: 11
Error: write EPIPEenter code here
at afterWriteDispatched (internal/stream_base_commons.js:154:25)
at writeGeneric (internal/stream_base_commons.js:145:3)
at Socket._writeGeneric (net.js:784:11)
at Socket._write (net.js:796:8)
at doWrite (_stream_writable.js:403:12)
at writeOrBuffer (_stream_writable.js:387:5)
at Socket.Writable.write (_stream_writable.js:318:11)
at PDF.PdfExec [as exec] (/data/www/apps/apirest_archivoRegional/node_modules/html-pdf/lib/pdf.js:141:15)
at PDF.PdfToBuffer [as toBuffer] (/data/www/apps/apirest_archivoRegional/node_modules/html-pdf/lib/pdf.js:44:8)
at /data/www/apps/apirest_archivoRegional/controllers/archivCentralController.js:311:30
at /data/www/apps/apirest_archivoRegional/node_modules/mongoose/lib/model.js:4826:16
at /data/www/apps/apirest_archivoRegional/node_modules/mongoose/lib/model.js:4826:16
at /data/www/apps/apirest_archivoRegional/node_modules/mongoose/lib/helpers/promiseOrCallback.js:24:16
at /data/www/apps/apirest_archivoRegional/node_modules/mongoose/lib/model.js:4849:21
at /data/www/apps/apirest_archivoRegional/node_modules/mongoose/lib/query.js:4390:11
at /data/www/apps/apirest_archivoRegional/node_modules/kareem/index.js:135:16
at processTicksAndRejections (internal/process/task_queues.js:79:11) {
errno: 'EPIPE', code: 'EPIPE', syscall: 'write' }
Upvotes: 1
Views: 2845
Reputation: 475
if you are using Alpine Linux, the problem is different and the solution could be found at https://gist.github.com/vovimayhem/6437c2f03b654e392ccf3e9903eba6af
Depending on the version of Alpine you are using, a different solution should be used. Read through the entire discussion to find the one that suits you best.
Upvotes: 2
Reputation: 106
You have to install libfontconfig package.
sudo apt-get install libfontconfig
Upvotes: 3