You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After following the workaround listed here #1 (comment) I can finally get the function to invoke, but it fails to run puppeteer or playwright examples.
Puppeteer error:
INFO Launching Puppeteer browser with options: {"args":["--allow-pre-commit-input","--disable-background-networking","--disable-background-timer-throttling","--disable-backgrounding-occluded-windows","--disable-breakpad","--disable-client-side-phishing-detection","--disable-component-extensions-with-background-pages","--disable-component-update","--disable-default-apps","--disable-dev-shm-usage","--disable-extensions","--disable-hang-monitor","--disable-ipc-flooding-protection","--disable-popup-blocking","--disable-prompt-on-repost","--disable-renderer-backgrounding","--disable-sync","--enable-automation","--enable-blink-features=IdleDetection","--export-tagged-pdf","--force-color-profile=srgb","--metrics-recording-only","--no-first-run","--password-store=basic","--use-mock-keychain","--disable-domain-reliability","--disable-print-preview","--disable-speech-api","--disk-cache-size=33554432","--mute-audio","--no-default-browser-check","--no-pings","--single-process","--disable-features=Translate,BackForwardCache,AcceptCHFrame,MediaRouter,OptimizationHints,AudioServiceOutOfProcess","--enable-features=NetworkServiceInProcess2,SharedArrayBuffer","--hide-scrollbars","--ignore-gpu-blocklist","--in-process-gpu","--window-size=1920,1080","--use-gl=angle","--use-angle=swiftshader-webgl","--disable-setuid-sandbox","--no-sandbox","--no-zygote","--headless"],"defaultViewport":{"deviceScaleFactor":1,"hasTouch":false,"height":1080,"isLandscape":true,"isMobile":false,"width":1920},"headless":true}
ERROR Failed to launch Puppeteer browser, retrying Error: An `executablePath` or `channel` must be specified for `puppeteer-core`
at assert (/opt/nodejs/node_modules/puppeteer-core/lib/cjs/puppeteer/util/assert.js:18:15)
at ChromeLauncher.computeLaunchArguments (/opt/nodejs/node_modules/puppeteer-core/lib/cjs/puppeteer/node/ChromeLauncher.js:102:36)
at async ChromeLauncher.launch (/opt/nodejs/node_modules/puppeteer-core/lib/cjs/puppeteer/node/ProductLauncher.js:70:28)
at async launchBrowserWithRetries (/opt/nodejs/node_modules/Utils.js:37:20)
at async Synthetics.launch (/opt/nodejs/node_modules/Synthetics.js:1190:29)
at async Runtime.handler (/var/task/cw-synthetics.js:58:9)
Playwright error:
[info] Invoking /opt/index.handler (nodejs20.x)
[info] Error: An error occurred (InvalidParameterValueException) when calling the GetLayerVersion operation:
Invalid Layer name: arn:aws:lambda:us-west-2:760325925879:layer:AWS-CW-SyntheticsNodeJsPlaywright
I don't see anywhere to configure puppeteer to set the missing executablePath or channel values, and I think the missing playwright layer comes from your side as I don't recognise the AWS account ID 760325925879.
The text was updated successfully, but these errors were encountered:
After following the workaround listed here #1 (comment) I can finally get the function to invoke, but it fails to run puppeteer or playwright examples.
Puppeteer error:
Playwright error:
I don't see anywhere to configure puppeteer to set the missing
executablePath
orchannel
values, and I think the missing playwright layer comes from your side as I don't recognise the AWS account ID760325925879
.The text was updated successfully, but these errors were encountered: