Node-html-pdf: Error: write EPIPE

Created on 9 Apr 2016  路  6Comments  路  Source: marcbachmann/node-html-pdf

I'm trying to use the module with ubuntu v14.04 ( via docker ).
When trying 'html-pdf index.html index.pdf' is give the following error:

events.js:141
throw er; // Unhandled 'error' event
^

Error: write EPIPE
at exports._errnoException (util.js:870:11)
at WriteWrap.afterWrite (net.js:769:14)

My Ubuntu-Version:
Distributor ID: Ubuntu
Description: Ubuntu 14.04.4 LTS
Release: 14.04
Codename: trusty

When running the same command on the same machine with linux-mint, it works as aspected.

Most helpful comment

Please try sudo apt-get install libfontconfig

Continue the discussion in https://github.com/marcbachmann/node-html-pdf/issues/35

All 6 comments

Please try sudo apt-get install libfontconfig

Continue the discussion in https://github.com/marcbachmann/node-html-pdf/issues/35

Thank you very much. It works :+1:

you're welcome

ERROR: Caught exception: Error: read ECONNRESET
server-0 Error: read ECONNRESET
server-0 at exports._errnoException (util.js:746:11)
server-0 at Pipe.onread (net.js:561:26)

solution:
sudo apt-get install libfontconfig.

sudo apt-get install libfontconfig not helps anymore ununtu 16.04

What about window ?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jimit-hothi picture jimit-hothi  路  4Comments

OussamaRomdhane picture OussamaRomdhane  路  4Comments

Mortuie picture Mortuie  路  4Comments

sca88 picture sca88  路  4Comments

antiframes picture antiframes  路  4Comments