ReferenceError: Blob is not defined
ritschwumm opened this issue · 2 comments
ritschwumm commented
with node 12.3, this line https://github.com/DevelopingMagic/pdfassembler/blob/master/src/pdfassembler.ts#L43 fails with the above error when fed an UInt8Array
coming from fs.readFile()
as a workaround, global.Blob = function() {};
seems to help
ritschwumm commented
with a similar hack for File, this library works quite well on node...
ykolomatski commented
Is there a better solution for this? I am getting the same error