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
Installation problem with MacOS M1 chip #420
Comments
|
Its May 2022. I failed several months ago to get pageres working on my silicon M1 iMac with Big Sur. It seemed like it would all get resolved. I tried to install again just now and failed. I uninstalled pageres, pageres-cli, puppeteer (using npm). I updated node, I updated npm, I updated brew. I have node v18.1.0, npm 8.8.0. I re-installed pageres, then pageres-cli which failed with error chromium binary not available. I installed chromium using Brew, when I went to launch chromium, it said the application was damaged, I unlocked it from the terminal with xattr -cr /applications/chromium.app. I installed pageres-cli again, I added this to my .zshrc file export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true export PUPPETEER_EXECUTABLE_PATH= Error: Failed to launch the browser process! spawn /usr/bin/chromium-browser ENOENT I manually updated puppeteer, uninstalled and reinstalled pageres and pagres-cli. But I get the same error. I've searched and searched, I've done what everybody else seems to be doing, but I can't get it to work. Any advice greatly appreciated! Regards |
Hm. I downgraded to node 12, based on a post on this thread, and it worked after installing pageres and pageres-cli again. https://stackoverflow.com/questions/59979188/error-failed-to-launch-the-browser-process-puppeteer I have no idea why. Regards |
Looks like it has something to do with puppeteer/puppeteer#6622, puppeteer/puppeteer#6495, etc. I think upgrading pupeteer (transitively also capture-website) would solve it. For those using the library as it is, passing the correct path to the chromium binary to launchOptions should solve it. For those using the pageres-cli (such as me) I don't think there's any hope as of now. |
Try the latest version: https://github.com/sindresorhus/pageres/releases/tag/v7.0.0 It may have resolved the issue. |
I get the following errors on macOS M1 chip. Is there any workarounds to solve this?
The text was updated successfully, but these errors were encountered: