Szpadel/chrome-headless-render-pdf

Which version of node ? Windows support ?

dbpieter opened this issue · 1 comments

Hi

This seems like a great tool.
Trying it out on windows a.t.m. Unfortunately it explodes right into my face when running a small example.
const RenderPDF = require('chrome-headless-render-pdf'); RenderPDF.generateSinglePdf('http://google.com', 'outputPdf.pdf');

image

Running node v7.2.1.

Any help ?

Published version was compatible 7.6.0, but I published updated version (1.1.5) that should be also compatible with older versions, can you check that?
For windows you will probably have also to specify chrome binary location manually, because I think chrome detection on windows is currently broken.