Bansnetsajak007 / docx2pdf-converter

A cross-platform npm package for converting `.docx` files to PDF. Supports Windows, macOS, and Linux. Includes functionality for converting PDFs back to DOCX on Windows. Simple and versatile file conversion.
https://www.npmjs.com/package/docx2pdf-converter
5 stars 1 forks source link

Does no work in Linux operating system #2

Closed mwashambw closed 1 month ago

mwashambw commented 2 months ago

I understand Converting docx to pdf is challenging. Thanks for this library but can you improve it to be able to work on linux operating system? I have deployed my webapp that do conversion of file from docx to pdf. But on render Hosting system it does not work. Error is throwncon logs, 'Powershel not found".

hl0709 commented 2 months ago

I also found that it cannot be used on Linux systems. Do you have any solutions? Or there may be better alternatives

mwashambw commented 2 months ago

I also found that it cannot be used on Linux systems. Do you have any solutions? Or there may be better alternatives

Still I have not found a solution for this

Bansnetsajak007 commented 2 months ago

with this update the docx-to-pdf npm package should now work on Linux systems as well. The package relies on the unoconv tool for conversion. To ensure proper functionality, please install unoconv by running sudo apt install unoconv. If you encounter any further issues or have additional questions, feel free to reach out.