-
Notifications
You must be signed in to change notification settings - Fork 112
Open
Description
Running single-file.exe gives me this error:
Failed to spawn 'C:\Program Files\Chromium\Application\chrome.exe': File not found
My chrome is installed here:
C:\Program Files\Google\Chrome\Application\chrome.exe
README says to use a --browser-executable-path path to change the installation location, but when I try:
./single-file --browser-executable-path "C:\Program Files\Google\Chrome\Application\chrome.exe"
single-file [url] [output]
Positionals:
url URL or path on the filesystem of the page to save [string]
output Output filename [string]
Options:
* Browser Configuration:
--browser-server: Server to connect to <string>
--browser-headless: Run the browser in headless mode <boolean> (default: true)
--browser-executable-path: Path to chrome/chromium executable <string>
--browser-width: Width of the browser viewport in pixels <number> (default: 1280)
--browser-height: Height of the browser viewport in pixels <number> (default: 720)
--browser-debug: Enable debug mode <boolean>
--browser-arg: Argument passed to the browser <string*>
--browser-args: Arguments provided as a JSON array and passed to the browser <string>
--browser-start-minimized: Minimize the browser <boolean>
...
It just spits out a very long help/usage message.
Here is a list of other things I tried that didn't work:
./single-file --browser-executable-path "C:\Program Files\Google\Chrome\Application\"
./single-file --browser-executable-path `C:\Program Files\Google\Chrome\Application\`
./single-file "C:\Program Files\Google\Chrome\Application\" --browser-executable-path
./single-file --browser-executable-path "C:/Program Files/Google/Chrome/Application/chrome.exe"
single-file --browser-executable-path "C:/Program Files/Google/Chrome/Application/chrome.exe"
single-file.exe --browser-executable-path "C:\Program Files\Google\Chrome\Application\"
Does this parameter just not work atm? What am I doing wrong? I am on Windows 11 Pro and the same error message is happening in CMD and Powershell with any combination of the above commands I sent. I cannot change the browser install path no matter what I try.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels