js-libp2p icon indicating copy to clipboard operation
js-libp2p copied to clipboard

Electron forge setup problems

Open vasco-santos opened this issue 4 years ago • 2 comments

For better visibility.


by @hugomrdias in #873

two issues i found with electron-forge setup:

  • we should see if we can make libp2p work without node integration or webpack target: 'web' probably not but might be possible
    • with the default target events is being marked as external by webpack and its still webpack 4
  • libp2p-noise doesnt work with electron-forge default webpack template because of the bcrypto native modules
    • something to do with this package https://github.com/vercel/webpack-asset-relocator-loader#readme needs further investigation

also cc @mpetrunic

vasco-santos avatar Jan 28 '21 13:01 vasco-santos

have you found a solution to your problem? I'm running into similar issues.

dmitryame avatar Jul 12 '22 17:07 dmitryame

libp2p-noise should work now as we dropped bcrypto

mpetrunic avatar Jul 12 '22 18:07 mpetrunic

Closing as fixed as referenced by @mpetrunic 's comment

maschad avatar Sep 28 '23 20:09 maschad