-
Notifications
You must be signed in to change notification settings - Fork 10
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
Critical doesn't run on M1 chips #98
Comments
Running down the dependency tree: Problem 1 - even the latest version of penthouse is pinned to an old version of puppeteer (2.1.1) so that had to be replaced in package.json:
Main Problem - Most suggestions are to skip the auto-download and install chromium manually. There are some ENV variables that come into play (unclear which of these work)
And settings can be passed down when calling critical.generate to try to use the natively built chromium:
|
Solution #1 - build chromium manually Make sure puppeteer is replaced with the latest as described above ^
Create
Run the command to install chromium and dependencies manually ( |
https://github.com/kanopi/hanson-bridgett/pull/277 is a recent real-world example update Update
in package.json, spoof puppeteer version so we get a more recent version (may not be needed)
|
No description provided.
The text was updated successfully, but these errors were encountered: