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
Can't install package on Macbook M1 (puppeteer/chromium) #1463
Comments
@ronyeh can you look into that? |
Oh, interesting. Unfortunately I have an Intel Macbook. There should be an option in puppeteer to use the local installation of Chrome, right? Can you figure out how to set puppeteer to point to the Chrome in your /Applications/ folder? Then maybe we can do a PR where we add that flag on M1/M2 Macs (and any computer where npm install of Chromium fails). |
Path to a browser executable to use instead of the bundled Chromium. Note that Puppeteer is only guaranteed to work with the bundled Chromium, so use this setting at your own risk. |
Some comments that might be relevant: puppeteer/puppeteer#6622 (comment) puppeteer/puppeteer#6622 (comment) This last one has some useful steps to try. puppeteer/puppeteer#6622 (comment) Some of the steps include:
|
Thanks, I got it working. The 'PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true' trick worked for puppeteer. The second issue I had was with canvas. Installing canvas failed, and I had to install 'brew' and a bunch of other tools:
I think I had the same trouble on Ubuntu, now that I think of it. I haven't done the chromium step yet since I don't need to create diffs right now, but I will probably take it up eventually. This machine is crazy fast, if I can figure out how it works. |
You could try installing chromium using brew. Note - without the Hope this helps! |
ARM silicone macbook. npm install of latest vexflow gives the following error. Apparently there is no chromium for the M1. Is it possible to install without the chromium option?
I've read various workarounds, they all sound complicated and not really clear how to get it to work with this project. Wondering if anyone has solved this before I go down the rabbit hole.
The text was updated successfully, but these errors were encountered: