Closed jiatern closed 6 months ago
I tried to reproduce the issue in Debian 12.5 but I wasn't able to do so. What is the version of Chromium on your system?
I tried both chrome v114 and v123 (latest stable), same result. I also tried on another VPS on Ubuntu 22.04.3, same result too.
The only thing I did was to download single-file-x86_64-linux
, make it executable and make sure chrome is installed. I also tried to directly point to a chromedriver executable file using --browser-executable-path
. Still the same error.
Did I miss any step? It works fine on windows however. On the other note, on windows, it seems like it can no longer convert a .html file with local assets folder to a single HTML file. It used to work with the v1.x of single-file-cli.
I did a test with single-file-x86_64-linux
in Ubuntu but it worked as expected. Maybe you configured your firewall (or something similar) to block connections to localhost
?
--browser-executable-path
can be used to set the path to the executable file of the Chromium-based browser. The new version (2.x) does not rely on chromedriver
.
Hmm not sure what went wrong in both of my environments, but I managed to get 1.1.x version working again. Since I need the feature to convert offline html + assets to a single html, I will stay with 1.1.x.
Thanks for your help!
I was able to reproduce the issue related to pages opened from the filesystem. The fix will be available in the next version.
Hi, I encountered the same issue, after some debugging I realized it's because my deno was installed using Ubuntu Snap, using the non-Snap version works. Just FYI in case someone also uses the deno Snap.
Hi, I am using the latest release v2.0.19 on Debian. Previously I was using the old v1.xx and had no problems until today when it started to show errors with chrome, so I updated to v2.0.19.
However running
single-file https://www.wikipedia.org wikipedia.html
gives me the following error:Any ideas?