node-pdf-image icon indicating copy to clipboard operation
node-pdf-image copied to clipboard

fs.stat is not a function

Open DyncMark opened this issue 7 years ago • 0 comments

var PDFImage = require("pdf-image").PDFImage; var pdfImage = new PDFImage("./IP.pdf"); console.log(pdfImage) pdfImage.convertPage(0).then(function (imagePath) { console.log(imagePath) }).catch(err => { console.log(err); }); when i call converPage,and then got an error

DyncMark avatar Sep 27 '18 03:09 DyncMark