-
-
Notifications
You must be signed in to change notification settings - Fork 110
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
generating PDF is failing with little clues #54
Comments
I have solved solved it at the end using installing Chrome (really needed?) and doing:
However, I think documentation in https://github.com/simonhaenisch/md-to-pdf#installation could be improved. If Chrome (or some chrome-related setting) is a requirement, it shoulb be explained in that section. |
Hi, there's a The reason is probably either that you're missing a dependency or that the sandboxing isn't working for you (in which case you can try disabling it by passing The reason you're only seeing this line of the error is because Listr only prints the last line, which is often good enough but not in this case. I should probably catch this special error. |
Yes. I think it would be a good idea. In addition, explaining the requirements regarding Chrome in the installation instructions in the main README.md at https://github.com/simonhaenisch/md-to-pdf#installation should be also very desirable. Thanks! (Feel free of closing this issue if you think the issue is coverd or leave it opened if if is usefult to you to keep track of the possible task related with it, i.e. capture error, documentation improvement, etc.). |
Context:
md-to-pdf -v
): 2.8.2Describe the bug:
I'm just doing a basic test. I have installed the package:
Next, I try to build the PDF for the basic test that comes with the github repository:
but I get the following error:
However, it's a bit cryptic... I'm not sure which particular error md-to-pdf has found with regards to puppeter or how to debug it. In addition, the cited reference is pretty long, describing diferent kind of problems and not sure which one is the one I could have.
Any help or insight on this would be appreciated. Thanks!
The text was updated successfully, but these errors were encountered: