let options = {
format: 'Letter'
};
pdf.create(html, options).toFile(destinationFilePath,(err, res) => {
if (err){
console.log('error',err);
return;
}
console.log(res);
});
Also, my old project which was using html-pdf is also now returning SIGABRT error now. Any idea on how to fix this? Or is this a bug in the latest release?
I did something like this.
Also, my old project which was using html-pdf is also now returning SIGABRT error now. Any idea on how to fix this? Or is this a bug in the latest release?