Electron is built using specific version of Node.js. In order to use edge in Electron project you would need to recompile it using the same Node.js version and Electron headers.
electron-edge-js comes precompiled with correct Node.js versions and headers.
edge-js and electron-edge-js will fail to build on MacOS if Visual Studion for mac is installed.
VS installs Mono runtimes that edge-js fails to access durring nmp install.
Related issues to use for troubleshooting: #39 #74 #21
Async execution
Underlying 'edge' component is written as synchronous C++ Node.js module and will cause Electron app to freeze when executing long running .NET code.
For workaround refer to this issue: #97
Documentation
For full documentation please see see original edge-js repo.
请发表评论