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
bug: Seems to hang for ever on my build agent #83
Comments
|
Hi, I am running Unfortunately the proposed Has anyone more ideas? Thanks! |
|
Usually if there's a sandboxing issue, you should get an error message that links to the troubleshooting docs. See https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md. The suggested launch flags for disabling sandboxing are (it has to be JSON-formatted string) Anyway, those troubleshooting docs have heaps of info for different CI providers and running Puppeteer in the cloud... maybe you can find some info in there that helps you solve this. Another idea I just had is that you might accidentally be passing the FWIW I use Github Actions to run tests for this package and it runs just fine 🤷🏻♂️ |
|
Thanks! I had quite a few errors when trying to run the puppeteer at first, but I was able to solve them using the troubleshooting link. I would like to keep the config file as I need some additional settings as well. I will look more into it and you know if I find anything! |
|
A small update from me. I have got it working, even the function
with
|
|
Thanks for the update |
Context:
Trying to run this on my azure devops build agent ( Ubuntu-20.04)
I install using
sudo npm install md-to-pdf -g -unsafe-perm=truethen run simply
md-to-pdf Release1.0.0.mdWhen i do this on my local machine a pdf is generated in less than a second
On my build agent it hangs indefinitely
Strangely if i kill the task i see this in the logs
so it seems it is running in about 2 seconds, but not existing properly so the script task doesnt exit
UPDATE - I managed to work around it by using the following syntax
cat file.md | md-to-pdf > path/to/output.pdfbut leaving this open in case the above issue is of interest to youThanks
The text was updated successfully, but these errors were encountered: