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

Raspberry Pi Node Precompiled Binaries Missing (Electron) #12535

Closed
rhclayto opened this issue Sep 13, 2017 · 3 comments
Closed

Raspberry Pi Node Precompiled Binaries Missing (Electron) #12535

rhclayto opened this issue Sep 13, 2017 · 3 comments
Assignees

Comments

@rhclayto
Copy link

rhclayto commented Sep 13, 2017

I'm trying to install grpc for use in an electron project. It won't build for me (or electron-rebuild), but according to several closed issues here (e.g., #10891), there should now be node binaries for the ARM architecture. However, when I try to install it following the suggestions of @murgatroid99 at #8260 , I get the following error:

node-pre-gyp ERR! Tried to download(403): https://storage.googleapis.com/grpc-precompiled-binaries/node/grpc/v1.6.0/electron-v1.7-linux-arm.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for grpc@1.6.0 and electron@1.7.5 (electron-v1.7 ABI) (falling back to source compile with node-gyp)

And the source compilation then fails because of the BoringSSL/OpenSSL conflict problems noted in other issues here.

I have:

Electron 1.7.5
Node 8.4.0
Arch Linux 4.9.43-1-ARCH
Raspberry Pi 3 with armv7l architecture

Installation steps:

# Electron's version.
export npm_config_target=1.7.5
# The architecture of Electron.
export npm_config_arch=arm
# Download headers for Electron.
export npm_config_disturl=https://atom.io/download/electron
# Tell node-pre-gyp that we are building for Electron.
export npm_config_runtime=electron
# Install all dependencies, and store cache to ~/.electron-gyp.
HOME=~/.electron-gyp npm install grpc

I have also tried installing grpc 1.4.1 & 1.1.0, but the same problem recurs. It seems that there is no binary available for electron 1.7, or I am doing something wrong.

Any suggestions?

@rhclayto
Copy link
Author

rhclayto commented Sep 13, 2017

This still doesn't work for me, but I was wrong about why grpc won't build for me. It's not a conflict between BoringSSL & OpenSSL, it's that BoringSSL has an implicit fallthrough in its code that causes the compiler to throw an error in GCC 7. See this other issue I opened for a solution: #12536

@murgatroid99
Copy link
Member

We don't have binaries for Electron 1.7 simply because it was released after we last published a package.

@murgatroid99
Copy link
Member

This has been fixed in more recent versions.

@lock lock bot locked as resolved and limited conversation to collaborators Sep 29, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants