ChromeNotInstalledError within Windows VM #12618
-
What is the current behavior?When I run my node app using this example in a Windows Datacenter 2019 VM that has Node and Chrome it produces a ChromeNotInstalledError: https://github.com/GoogleChrome/lighthouse/blob/master/docs/readme.md If I run this before starting node it executes, but it doesn't maintain once I stop node: The same app running locally on my laptop with Chrome executes as expected. What is the expected behavior?For the Windows VM running my app to produce the lighthouse report akin to how it runs on my laptop that has the same Node, Chrome, and Lighthouse versions. Environment Information
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
@ruskspace if you're running programmatically then you can use the await chromeLauncher.launch({chromePath: getMyCustomChromePath()}) |
Beta Was this translation helpful? Give feedback.
@ruskspace if you're running programmatically then you can use the
chromePath
option of chrome-launcher, this purpose is exactly what it's there for :)