Unable to create pdf
See original GitHub issueI am using Docker base image mhart/alpine-node. PDF creation fails with below exception
Error: spawn ./node_modules/phantomjs-prebuilt/bin/phantomjs ENOENT
at Process.ChildProcess._handle.onexit (node:internal/child_process:282:19)
at onErrorNT (node:internal/child_process:477:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top Results From Across the Web
unable to create PDFs from within Acrobat
docx files, select 1 (or more), right-click and select Conver to PDF. It appears to begin to work, with a little progress window...
Read more >Can't create PDF - Microsoft Community
Possibly you have a pdf of the same name opened in Adobe Acrobat. That would cause that error. If that is not the...
Read more >FIX Error: QuickBooks Could Not Save Your Form as a PDF File
Methods to Resolve the QuickBooks Unable to Create PDF Error · Method 1: Reinstalling Microsoft XPS · Method 2: Download and run QuickBooks...
Read more >Unable to view PDF in Chrome when you click on 'Create PDF ...
Click on PDF Documents and uncheck Open PDF files in the default PDF viewer application. For Google Chrome Version 60 and above. First,...
Read more >Troubleshooting for PDF Create - Kofax Product Documentation
Some files could be rejected by PDF Create because they do not have an associated program for printing. You should associate the file...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That is almost certainly FONT_CONFIG path and the related libraries. Take a look at this post, which hopefully covers the topic for you: https://github.com/marcbachmann/node-html-pdf/issues/547
The pdf generator packages are deprecated and don’t work on aws lambdas, just this new package I found.
https://www.npmjs.com/package/html-pdf-lambda