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.

Fail to build electron-sdk with electron 7

See original GitHub issue

Issue Description

I alway got this error when try to build agora electron sdk with electron 7. It can be install with electron 5.x with prebuild: false.

My package.json: "agora_electron": { "electron_version": "7.1.4", "prebuilt": false, "platform": "darwin" }

Error message:

./agora_node_ext/agora_rtc_engine.cpp:3422:26: error: no matching member function for call to ‘Set’ dev->Set(v8::String::NewFromUtf8(args.GetIsolate(), “deviceid”, NewStringType::kInternalized).ToLocalChecked(), di);

fatal error: too many errors emitted, stopping now [-ferror-limit=] 41 warnings and 20 errors generated. make: *** [Release/] Error 1 gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) gyp ERR! stack at ChildProcess.emit (events.js:223:5) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12) gyp ERR! System Darwin 19.2.0 gyp ERR! command “/usr/local/bin/node” “/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” “build” gyp ERR! cwd /Users/user/user/demo/node_modules/agora-electron-sdk gyp ERR! node -v v12.14.1 gyp ERR! node-gyp -v v5.0.5 gyp ERR! not ok

Currently agora electron sdk only support electron 5.x?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5

github_iconTop GitHub Comments

plutolesscommented, Jan 21, 2020

in fact you can also using prebuilt 7.1.2 version with npm version 2.9.1-beta.5, if you are installing our sdk as depencency

squalle0nhartcommented, Jan 21, 2020

the error means sdk is missing. in latest branch we try to prevent uploading sdk binary into code repository. try running npm run sync:lib before building.

Build done! Thank you very much.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Electron Configuration - Chemistry LibreTexts
Bromine (Z=35), which has 35 electrons, can be found in Period 4, Group VII of the periodic table. Since bromine has 7 valence...
Read more >
Electron Configuration - Basic introduction - YouTube
This chemistry video tutorial provides a basic introduction into electron configuration. It contains plenty of practice problems and ...
Read more >
Electron Configuration - Quick Review! - YouTube
Electron Configuration - Valence Electrons vs Core Electrons 7. ... with this video may generate affiliate commissions on my behalf.
Read more >
Electron Configuration | Texas Gateway
Given descriptors, diagrams, and chemical symbols, students will use the periodic table to determine the electron configuration of neutral atoms.
Read more >
Octet Rule – Easy Hard Science - Learn With Dr. Scott
Fluorine (symbol F) is found in column 7 on the periodic table. It has 7 valence electrons. It needs to make 1 bond...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found