We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f4a34e commit 05753beCopy full SHA for 05753be
packages/core/src/resolveConfig.ts
@@ -183,7 +183,13 @@ export const resolveUserConfig: (userConfig: UserConfig) => Promise<ResolvedUser
183
// if user is using the default chrome binary options
184
if (config.chrome.useSystem && !foundChrome) {
185
// we'll try and resolve their local chrome
186
- const chromePath = Launcher.getFirstInstallation()
+ let chromePath = false
187
+ try {
188
+ chromePath = Launcher.getFirstInstallation()
189
+ }
190
+ catch (e) {
191
+ logger.debug('Chrome launcher failed to get a path.', e)
192
193
if (chromePath) {
194
logger.info(`Using system Chrome located at: \`${chromePath}\`.`)
195
// set default to puppeteer core
0 commit comments