Skip to content

Daemon fails to launch Chrome on Windows #320

@DanTup

Description

@DanTup

When trying to run on Windows, Chrome fails to launch:

CreateProcess
W failed 2
Unhandled exception:
ProcessException: The system cannot find the file specified.
  Command: Google\Chrome\Application\chrome.exe --user-data-dir=M:\Coding\xxxxxxxx\.dart_tool\webdev\chrome_profile --remote-debugging-port=58363 --disable-background-timer-throttling --disable-extensions --disable-popup-blocking --bwsi --no-first-run --no-default-browser-check --disable-default-apps --disable-translate http://localhost:58356/
#0      Chrome.start (package:webdev/src/serve/chrome.dart:88:19)

I'm not sure if this is particular to how I installed Chrome, but the executable path for Windows does look a bit suspicious (see

const _windowsExecutable = r'Google\Chrome\Application\chrome.exe';
).

On my machine, Chrome is at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe but I suspect it can probably be in %APPDATA% too.

Metadata

Metadata

Assignees

Labels

type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions