Error with pdf-to-img library in TypeScript (NestJS): “esModule() is not a function”
I’m working on a NestJS project using TypeScript and trying to convert a PDF (from either a stream or a buffer) into images. I decided to use the pdf-to-img library. However, when I try to use the library, I encounter the following error:
Error with pdf-to-img library in TypeScript (NestJS): “esModule() is not a function”
I’m working on a NestJS project using TypeScript and trying to convert a PDF (from either a stream or a buffer) into images. I decided to use the pdf-to-img library. However, when I try to use the library, I encounter the following error:
Error with pdf-to-img library in TypeScript (NestJS): “esModule() is not a function”
I’m working on a NestJS project using TypeScript and trying to convert a PDF (from either a stream or a buffer) into images. I decided to use the pdf-to-img library. However, when I try to use the library, I encounter the following error:
Error with pdf-to-img library in TypeScript (NestJS): “esModule() is not a function”
I’m working on a NestJS project using TypeScript and trying to convert a PDF (from either a stream or a buffer) into images. I decided to use the pdf-to-img library. However, when I try to use the library, I encounter the following error: