Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error create buffer #191

Open
wuilmerj24 opened this issue Jun 17, 2022 · 3 comments
Open

Error create buffer #191

wuilmerj24 opened this issue Jun 17, 2022 · 3 comments

Comments

@wuilmerj24
Copy link

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)

@hannanstd
Copy link

hannanstd commented Jun 17, 2022

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' } }, });

@wuilmerj24
Copy link
Author

@hannanstd Not work for me

@rained23
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants