This repository was archived by the owner on Feb 12, 2024. It is now read-only.
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
Runtime Support: Electron & Muon #843
Closed
Description
More and more user's have been having trouble using js-ipfs with Electron due to the native module dependencies, see:
- electron-rebuild error #842
- electron app not found wrtc #835
- "assert is not defined" in Electron #852
- Run tests inside electron Node.js and Browser process as well #697
The solution found passes by following this example: https://github.com/electron/electron/blob/master/docs/tutorial/using-native-node-modules.md
We should include instructions to guide users to follow that and also run tests in Electron's Node.js Process + Browser process just to be sure #697
Update: I've started tackling this issue, follow the rest of the thread to check the state of things. tl;dr; You should be able to run js-ipfs in the browser process of Electron just fine if you webpack/browserify js-ipfs, running in the main process (aka Node.js) is stil a ❓ due to native dependencies.