Unable to generate the PDF error when using Kroki
woprisalive opened this issue · 0 comments
Hi,
I've installed your amazing asciidoctor-web-pdf on a Fedora Linux 36 (Server Edition Prerelease) with node v16.13.2.
I use node only for this tool. Installation was done with the following command :
npm i -g @asciidoctor/core asciidoctor-pdf asciidoctor-kroki --save-dev
When I want to generate a PDF, the error Unable to generate the PDF - Error: Error: Navigation failed because browser has disconnected!
is returned.
I've got the error with the piracy.adoc
example on the diagram section. If I comment the nomnomol diagram the PDF is generated.
This error seems to be generated by pupeteer related to a memory error...
When I look at the top command, several chrome processes are executed that use 16.6g of virtual memory !!
New with node and asciidoctor-web-pdf, I don't know where to look for...
I'm not able to use the --preview
option, I use the Fedora remotely and cannot export the display.
Bye bye !