Just curious if anyone in this community has a nice example for deploying the HTML2PDF module alongside a Node Typescript Application in Azure App Service? I am running into some errors with the module and tried the Linux dependency stuff I found in Apryse docs.
MY tech stack is Node 18, Typescript / Express App utilizing the HTML2PDF module for Linux. It works perfectly on my local machine just not when deployed although other static test routes work.
hello Kia,
This is the only log i am getting from Apryse, {
“errors”: [
{
“message”: {
“message”: “Exception: \n\t Message: This version of HTML2PDF module is not compatible with this SDK. Please download the latest module from\nApryse Developer Portal Conditional expression: exit_code == 0\n\t Version : 10.8.0-842bd75\n\t Platform : Linux\n\t Architecture : AMD64\n\t Filename : Html2Pdf.cpp\n\t Function : Convert\n\t Linenumber : 454\n”,
“type”: “PDFWorkerError”
}
}
]
}
Can you clarify which version of the module you are using? Make sure you are using the correct version of the module (most updated, ARM vs x86, correct OS): https://dev.apryse.com/linux