Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

electron-rebuild error #842

Closed
kenshyx opened this issue May 5, 2017 · 6 comments
Closed

electron-rebuild error #842

kenshyx opened this issue May 5, 2017 · 6 comments
Labels
kind/bug A bug in existing code (including security flaws) status/deferred Conscious decision to pause or backlog

Comments

@kenshyx
Copy link
Contributor

kenshyx commented May 5, 2017

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?

@daviddias
Copy link
Member

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.

@daviddias daviddias added the kind/bug A bug in existing code (including security flaws) label May 7, 2017
@kenshyx
Copy link
Contributor Author

kenshyx commented May 8, 2017

I have a proper build environment for electron, the problem is that package that can't be built(execSync).

@kenshyx
Copy link
Contributor Author

kenshyx commented May 8, 2017

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

@daviddias
Copy link
Member

Hi! I started working on electron support, track it in #843

@daviddias daviddias added the status/deferred Conscious decision to pause or backlog label Jul 9, 2017
@kumavis
Copy link
Contributor

kumavis commented Jul 13, 2017

@kenshyx the missing aegir dev-dep should be resolved. moved ethereum resolvers to new repo github.com/ipld/js-ipld-eth-star

@daviddias
Copy link
Member

Let's keep tracking it here: #843 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug A bug in existing code (including security flaws) status/deferred Conscious decision to pause or backlog
Projects
None yet
Development

No branches or pull requests

3 participants