question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for electron v8

See original GitHub issue

Problem description

I want to use grpc with electron v8.2.5 (stable). But when I am running "postinstall": "npm rebuild grpc --target=8.2.5 --runtime=electron"

I get this error:

Pre-built binaries not found for grpc@1.24.2 and electron@8.2.5 (electron-v8.2 ABI, unknown) (falling back to source compile with node-gyp)

If do not rebuild I get the error mentioned in #6138

[Error: …/node_modules/grpc/src/node/extension_binary/grpc_node.node: undefined symbol: GENERAL_NAME_free]

Environment

  • OS name, version and architecture: macOS Catalina 10.15.3
  • Node version v12.13.0
  • Node installation method yarn / lerna
  • Package name and version grpc@1.24.2

Additional context

related to

  • #989 Electron v6 and gRPC error
  • #1235 Publish build for electron 7.1
  • #6138 Error running gRPC greeter example with electron

Is there any workaround? Or is the release of v1.25.0 near?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:7
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

10reactions
murgatroid99commented, May 21, 2020

Yes, the Electron 9 binaries will go out at the same time.

7reactions
murgatroid99commented, May 21, 2020

I am working on this. I think I can get a new release out soon with the new binary files, including the ones for Electron.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Electron 8.0.0
Electron 8.0.0 ... Electron 8.0.0 has been released! It includes upgrades to Chromium 80 , V8 8.0 , and Node.js 12.13.0 . We've...
Read more >
Electron (software framework) - Wikipedia
Electron is a free and open-source software framework developed and maintained by GitHub. ... The latest three stable version are support by the...
Read more >
Chapter 1. Introducing Electron - Electron in Action
It used Google's open source V8 engine to interpret JavaScript and added APIs for ... With Electron, you can support multiple operating systems...
Read more >
What Is Electron.js? Features, Architecture and Tools - Brainhub
Electron.js makes it easy to write cross-platform desktop apps with ... JS is the base, then Chrome is the cheese and V8 JavaScript...
Read more >
Running Native Code in Electron and the Case for ... - PSPDFKit
Electron has first-class support for native Node.js modules (also called native addons). These modules are special npm packages that can contain C/C++ code ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found