Open wuilmerj24 opened 2 years ago
I faced this error today and after searching about node-html-pdf packaged found the solution.
https://stackoverflow.com/questions/60966814/node-html-pdf-auto-configuration-failed
return this.pdfService.toBuffer('test', { childProcessOptions: { env: { OPENSSL_CONF: '/dev/null' } }, });
@hannanstd Not work for me
I faced this error today and after searching about node-html-pdf packaged found the solution.
https://stackoverflow.com/questions/60966814/node-html-pdf-auto-configuration-failed
return this.pdfService.toBuffer('test', { childProcessOptions: { env: { OPENSSL_CONF: '/dev/null' } }, });
this will fail in typescript
When trying to create I get this error:
Error: html-pdf: Unknown Error Auto configuration failed 140560640587712:error:0E079065:configuration file routines:DEF_LOAD_BIO:missing equal sign:conf_def.c:362:line 1 at ChildProcess.respond (/*/24/proyectos/p/api/node_modules/html-pdf/lib/pdf.js:134:17) at ChildProcess.emit (node:events:390:28) at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)