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
raspberry pi Chromium revision is not downloaded #550
Comments
@aminjoharinia Does the |
@aslushnikov |
I am also running into this issue AssertionError: Chromium revision is not downloaded. Run "npm install". I am running on Mac behind a corporate proxy. My .local-chromium directory is empty. |
after many attempts finally chromium downloaded but there is not any folder like .local-chromium in node modules/puppeteer
|
Looks like the downloaded version is x86_64, not arm:
vs the one in raspbian:
|
Also, it doesn't seem to work with the version in raspbian anyway:
|
I tried to make a patch for utils/ChromiumDownloader.js but seems like there are no arm64 snapshots and it doesn't worth to only support 32bit arm :/ |
Im going through the exactly same problem.
Didn't work. That's what I got.
I tried with browser.launch({executablePath: 'chromium-browser'}), but I got:
|
yes, seems like the working revision (499413) is not present anywhere on google storage api and the version mismatch causes the timeout |
Doesn't seem like there's an easy way to get a recent enough chromium build for arm |
First i installed chromium using
then i used
I don't know if this help anyone |
Yesterday, I successfully run latest puppeteer on Raspbian. Let me go through all steps that I tried:
|
maybe upload it to some CDN and make a PR? |
@ak239 Great ! Please upload it faster to check it out |
Ok. It's temporary solution, I hope that we'll make it more fancy soon. |
@ak239 Do you mean that |
Is there no ARM build of Chrome? @ak239 are you able to type up instructions of how your compiled Chrome for ARM? |
@ak239 your build is working fine here on a RPi2 on Raspbian, while the official build gave me the ELF error, so I assume there's no armv6 binary build of Chrome being downloaded. |
@ak239 did another attempt, this time on a RPi3 (armv7) running Arch Linux ARM with no GUI libraries present (shell only). I had to install the following GUI-related libraries until I was able to run the chrome binary: |
Thanks a lot! I build Chromium for arm using recipe 2 from here. Before start I have Chromium checkout for regular Linux build, I added target_cpu = "arm" to gn flags, run following code and build using ninja. I don't have any estimations when we'll get arm build support as part of npm install but we have it in our list. |
Hi |
I found that in raspbian stretch , chromium version 60 is preinstalled |
|
@jindongh Do you have any arm build of the latest version from chromium-dev channel? Last week it was added a new domain called HeadlessExperimental which Im really interested on testing, although Im not sure whether it's working or not. |
I don't know how these comments are not linked here:
|
if you have box86 installed try to add |
This worked for me. I had to fix a dependency with ffmpeg afterwards though. That was easily fixed with aptitude. |
Having installed the |
This worked for me on my Raspberry PI B+. First, I removed the old chromium pre-installed, and then installed it again (just in case). No idea if dependencies are needed as I tried different solutions before this, and may have them pre-installed before doing this) Then created a brand new folder
Then set "PUPPETEER_SKIP_CHROMIUM_DOWNLOAD" to true:
Then installed puppeteer:
Then checked that puppeteer didn't install any browser (there shouldn't be any ".local-chromium" or anything like that):
Then created a new example.js file to test if it works. Copied the code quoted above:
Then run it
If no errors, you should see no console messages here Finally to check, do
And you should see a file called "example.png" that is a screenshot of the web above "https://example.com" |
Hi I'm getting the same issue but with prerender-spa-plugin, I couldn't find where it's using puppeteer so can't replace const browser like this |
@paulinechi If you can figure out where the default puppeteer path is you might be able to symlink it to |
We're marking this issue as unconfirmed because it has not had recent activity and we weren't able to confirm it yet. It will be closed if no further activity occurs within the next 30 days. |
This is is definitely still an issue, puppeteer still doesn't download and use a bundled version of chromium on arm architectures. |
We're marking this issue as unconfirmed because it has not had recent activity and we weren't able to confirm it yet. It will be closed if no further activity occurs within the next 30 days. |
Still an issue. |
There is PUPPETEER_EXPERIMENTAL_CHROMIUM_MAC_ARM flag now to download mac ARM builds but as far as I know there no other ARM builds published by Chromium. |
Hi
i use raspbian stretch and i install puppeteer with npm but it did not download chromium
the os has the latest chromium
chromium-browser is already the newest version (60.0.3112.89-0ubuntu0.14.04.1.1010).
but when i run codes i have get error
(node:4035) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): AssertionError [ERR_ASSERTION]: Chromium revision is not downloaded. Run "npm install" (node:4035) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
i also test npm install as it says but not working
what should i do?
The text was updated successfully, but these errors were encountered: