Electron uses it's own version build of Node.js, causing a disparity in the binaries compiled by your own Node.js version and the one it uses.
This solved @kyledrake's issues https://github.com/electron/electron/blob/master/docs/tutorial/using-native-node-modules.md let me know if it works for you.
I have a proper build environment for electron, the problem is that package that can't be built(execSync).
I found it, it's from aegir package, it uses this old execSync package, deprecated a long time ago. Also this package should be a dev dependency of ipld-eth-storage-trie
Hi! I started working on electron support, track it in https://github.com/ipfs/js-ipfs/issues/843
@kenshyx the missing aegir dev-dep should be resolved. moved ethereum resolvers to new repo github.com/ipld/js-ipld-eth-star
Let's keep tracking it here: https://github.com/ipfs/js-ipfs/issues/843#issuecomment-317236407
Most helpful comment
@kenshyx the missing aegir dev-dep should be resolved. moved ethereum resolvers to new repo github.com/ipld/js-ipld-eth-star