Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Error: Runtime exited with error: signal: killed Runtime.ExitError #43

Closed
rajkrajpj opened this issue Jan 19, 2023 · 3 comments
Closed
Labels
bug Something isn't working

Comments

@rajkrajpj
Copy link

rajkrajpj commented Jan 19, 2023

Environment

  • chromium Version: 109.0.1
  • puppeteer / puppeteer-core Version: 19.4.0
  • Node.js Version: v18.12.0
  • Lambda / GCF Runtime: nodejs18.x

Expected Behavior

Puppeteer should launch browser.

Current Behavior

Screen Shot 2023-01-20 at 4 08 02 AM

Steps to Reproduce

const browser = await puppeteer.launch({
    args: chromium.args,
    defaultViewport: chromium.defaultViewport,
    executablePath: await chromium.executablePath("/var/task/node_modules/@sparticuz/chromium/bin"),
    headless: chromium.headless,
    ignoreHTTPSErrors: true,
  });

Possible Solution

@rajkrajpj rajkrajpj added the bug Something isn't working label Jan 19, 2023
@rajkrajpj
Copy link
Author

I got this error right after I solved - #41 (comment)

Tagging @Sparticuz for your kind advise 🙏

@rajkrajpj rajkrajpj changed the title [BUG] Failed to launch the browser process [BUG] Error: Runtime exited with error: signal: killed Runtime.ExitError Jan 19, 2023
@rajkrajpj
Copy link
Author

I've followed this advise and tried deploying with puppeteer version v19.4.0 and v19.5.2 but the error persists.

Error: Runtime exited with error: signal: killed Runtime.ExitError

@rajkrajpj
Copy link
Author

Closing this. Solved by adding more memory to the function

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant