Js-ipfs: electron-rebuild error

Created on 5 May 2017  路  6Comments  路  Source: ipfs/js-ipfs

I tried to use js-ipfs from my electron app and everytime I try to rebuild it using electron-rebuild I get this error. It might be a dependency of js-ipfs which uses execSync, similar issue here. Any thoughts?

kinbug statudeferred

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

All 6 comments

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

Was this page helpful?
0 / 5 - 0 ratings