I used this package and after creating PDF the PDF is without styles (could not find the style file) although in browser it's loading fine. Im using http://localhost:90/assets/test.css link to link <link rel=""> in setted html template to PDF. Probably will be something bad with path to files in headless mode or something with protocols. Im using MAC device.
When I set it to headless:false its showing error with (might be helpful)
Chrome process stopped before startup completed. Additional info: [4897:4897:1121/151359.976985:ERROR:ozone_platform_x11.cc(234)] Missing X server or $DISPLAY [4897:4897:1121/151359.976996:ERROR:env.cc(225)] The platform failed to initialize. Exiting.
I had to load CSS from the CDN, but I would like to load it localy.
This issue has been automatically marked as stale because there has been no recent activity. It will be closed after 30 days if no further activity occurs. Thank you for your contributions.
Hello,
I used this package and after creating PDF the PDF is without styles (could not find the style file) although in browser it's loading fine. Im using
http://localhost:90/assets/test.css
link to link<link rel="">
in setted html template to PDF. Probably will be something bad with path to files in headless mode or something with protocols. Im using MAC device.When I set it to
headless:false
its showing error with (might be helpful)Chrome process stopped before startup completed. Additional info: [4897:4897:1121/151359.976985:ERROR:ozone_platform_x11.cc(234)] Missing X server or $DISPLAY [4897:4897:1121/151359.976996:ERROR:env.cc(225)] The platform failed to initialize. Exiting.
I had to load CSS from the CDN, but I would like to load it localy.