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

enhancement/bump to latest version of puppeteer #1383

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

thescientist13
Copy link
Member

@thescientist13 thescientist13 commented Jan 13, 2025

Related Issue

N / A

Documentation

N / A

Summary of Changes

  1. Upgrade to latest version of puppeteer

TODO

  1. Netlify builds are failing on puppeteer installation
       12:45:58 PM: Error: Could not find Chrome (ver. 131.0.6778.264). This can occur if either
       12:45:58 PM:  1. you did not perform an installation before running the script (e.g. `npx puppeteer browsers install chrome`) or
       12:45:58 PM:  2. your cache path is incorrectly configured (which is: /opt/buildhome/.cache/puppeteer).
       12:45:58 PM: For (2), check out our guide on configuring puppeteer at https://pptr.dev/guides/configuration.
       12:45:58 PM:     at ChromeLauncher.resolveExecutablePath (file:///opt/build/repo/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserLauncher.js:262:27)
       12:45:58 PM:     at ChromeLauncher.computeLaunchArguments (file:///opt/build/repo/node_modules/puppeteer-core/lib/esm/puppeteer/node/ChromeLauncher.js:85:24)
       12:45:58 PM:     at async ChromeLauncher.launch (file:///opt/build/repo/node_modules/puppeteer-core/lib/esm/puppeteer/node/BrowserLauncher.js:48:28)
       12:45:58 PM:     at async BrowserRunner.init (file:///opt/build/repo/packages/plugin-renderer-puppeteer/src/lib/browser.js:20:20)
       12:45:58 PM:     at async default (file:///opt/build/repo/packages/plugin-renderer-puppeteer/src/puppeteer-handler.js:33:5)
       12:45:58 PM:     at async preRenderCompilationCustom (file:///opt/build/repo/packages/cli/src/lifecycles/prerender.js:134:3)
       12:45:58 PM:     at async file:///opt/build/repo/packages/cli/src/commands/build.js:63:11
       12:45:58 PM: *******************************************************************
       12:45:58 PM: *******************************************************************
       12:45:58 PM: There was an error trying to initialize puppeteer for pre-rendering.
       12:45:58 PM: To troubleshoot, please check your environment for any npm install or postinstall errors, as may be the case in a Stackblitz or other sandbox like environment.
       12:45:58 PM: For more information please see this guide - https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md
       

@thescientist13 thescientist13 added enhancement Improve something existing (e.g. no docs, new APIs, etc) Plugins Greenwood Plugins alpha.5 v0.31.0 labels Jan 13, 2025
@thescientist13 thescientist13 added this to the 1.0 milestone Jan 13, 2025
@thescientist13 thescientist13 force-pushed the enhancement/bump-puppeteer-dependency-version branch from e59e40b to ac86ad6 Compare January 18, 2025 00:22
@thescientist13 thescientist13 self-assigned this Jan 18, 2025
@thescientist13 thescientist13 force-pushed the enhancement/bump-puppeteer-dependency-version branch from ac86ad6 to 3fc5746 Compare January 18, 2025 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
alpha.6 enhancement Improve something existing (e.g. no docs, new APIs, etc) Plugins Greenwood Plugins v0.31.0
Projects
Status: 👀 In review
Development

Successfully merging this pull request may close these issues.

1 participant