-
Notifications
You must be signed in to change notification settings - Fork 298
electron-rebuild fault #919
Comments
@ipfs/wg-gui-team any advice for electron users? PS: It would be great to have an update for users at ipfs/notes#256 |
Hmmm, this is odd, |
@yueleiMaster can you give us any more info? I've not seen that error before. |
@yueleiMaster I see you are building on Windows. "file not found" is probably due to path separator hardcoded somewhere: @hacdias suggested solution in ipfs/ipfs-desktop#690: npm install --global windows-build-tools
Let us know if this helps. |
I'm seeing a very similar error, trouble finding headers uRSA needs, on OSX when attempting to import JoshKaufman/ursa#161 It would also appear, in comments on those issues, that uRSA can be replaced with native javascript methods in node versions v10.12 and later. Switching to the native methods will land here I believe: In the meantime; any other solid workarounds? I can monkey patch electron I suppose but I'd love something simpler. node: 10.15.3 and 12.1.0
|
cc @hugomrdias (sounds related to our plans to improve dev experience in Electron) |
Yes I already ran into this, there is two topics related to this
To use electron 4 and workaround electron-rebuild please check https://github.com/ipfs/js-ipfs/tree/master/examples/run-in-electron specifically the rebuild.sh. |
@hugomrdias, it is worth sharing an update here ipfs/notes#256 |
This issue is fixed with the latest version and notes are updated ipfs/notes#256 (comment) |
electron v1.7.11
electron-rebuild v1.8.2
nodejs v8.9.3
When I need to rebuild the program, ipfs-http-client reported an error, which may be related to ursa-optional library. Please help me check, thank you
The text was updated successfully, but these errors were encountered: