jsreport / jsreport-phantom-pdf

jsreport recipe which is rendering pdf from html using phantomjs
GNU Lesser General Public License v3.0
11 stars 8 forks source link

bug with phantom-server strategy and newer versions of node #32

Closed bjrmatos closed 5 years ago

bjrmatos commented 6 years ago

seems like that there is a deep dependency (net-cluster) of phantom-html-to-pdf that is using some low level and deprecated methods of nodejs. (details about the specific issue and error happening here).

it looks like this error starts to appear in node >=8.11 (maybe 8.10 too, in 8.9 it works).

we need to replace net-cluster in order to continue supporting phantom-server strategy in newest versions of node.

bjrmatos commented 5 years ago

this should be fixed in 2.3.0