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

Electron build fails (Pre-built binaries not found) #84

Open
denniskawurek opened this issue Aug 7, 2019 · 4 comments
Open

Electron build fails (Pre-built binaries not found) #84

denniskawurek opened this issue Aug 7, 2019 · 4 comments

Comments

@denniskawurek
Copy link

When trying to build an electron application which uses the canvas module the step

  • rebuilding native production dependencies platform=win32 arch=x64

fails with the following message:

node-pre-gyp WARN Tried to download(404): https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.0/canvas-v2.6.0-electron-v3.0-win32-unknown-x64.tar.gz 
node-pre-gyp WARN Pre-built binaries not found for canvas@2.6.0 and electron@3.0.11 (electron-v3.0 ABI, unknown) (falling back to source compile with node-gyp) 

When updating to the current Electron version it also fails. It seems that the package is missing.

@erwstout
Copy link

erwstout commented Aug 8, 2019

This seems to be affecting the entire package, not just anything related to Electron, FWIW.

@florianze
Copy link

I am currently facing the same problem with a raspberry pi - error 404 as the URL in the installation process is wrong. In my case it has "arm" in the URL, which simply doesn't exsist...

@denniskawurek
Copy link
Author

So I found out that a solution may be to build the packages by self from the sources? But this also failes on my system.

@chearon
Copy link
Member

chearon commented Aug 8, 2019

Sorry everyone, I targeted the most popular architectures and OSes. You can see which combinations are currently supported by going to a version like v2.6.0. I may do ARM at some point but have no plans for Electron, happy to take a PR though.

@erwstout which versions/processor/OS?

@florianze see #9

@denniskawurek Electron is not supported for prebuilds, you'll have to follow the instructions in the node-canvas repo to make sure it can build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants