Open mrohnstock opened 5 years ago
alright... found a way to get this working:
electron-pdf https://fraserxu.me ~/Desktop/fraserxu.pdf --browserConfig '{ "webPreferences": { "sandbox" : true } }'
Same here. Running electron-pdf v4.0.1 on Ubuntu 16.04 with Node 10.15.
With electron-pdf v4.0.10 on Ubuntu 18.04 LTS with node v12.20.0
--browserConfig '{ "webPreferences": { "sandbox" : true } }'
but the output is an empty A4 page.Does electron-pdf work for anybody nowadays?
(continued issue from https://github.com/fraserxu/electron-pdf/issues/231#issuecomment-459372817)
I'm running Arch Linux with the following tools:
I do use KDE Plasma (5.14.5) as my graphical workspaces environment.
GTK2 (2.24.32) and 3 (3.24.4) (including all libs) are installed, electron itself starts without an issue, but for example the following command:
displays only the following:
and won't display the actual page and won't close itself, as it does with electron-pdf 1.2.5.
To test, if electron itself would display the page, I've created the following
main.js
file:and
package.json
:and executed:
Which displays the page.
You told something about
You can turn up the log levels as well, see the README.
, I've digged into the README.md of electron-pdf but can't find something.Thanks for your help :D!