You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
what happened:
it crashes and the stack trace shows the issue is with libp2p
what i expected:
start the electron app as it should, but instead it crashes and libp2p seems to be the issue
i disabled ipfs/libp2p in my app and now my app works. below is the stack trace for the error that crashes ipfs/libp2p.
ReferenceError: CustomEvent is not defined
at TypedEventEmitter.safeDispatchEvent (file:///C:/Proj/Prod/hybrid-browser/node_modules/libp2p/node_modules/@libp2p/interface/dist/src/event-target.js:53:39)
at #emitIfUpdated (file:///C:/Proj/Prod/hybrid-browser/node_modules/@libp2p/peer-store/dist/src/index.js:169:25)
at PersistentPeerStore.patch (file:///C:/Proj/Prod/hybrid-browser/node_modules/@libp2p/peer-store/dist/src/index.js:107:32)
at async DefaultRegistrar.unhandle (file:///C:/Proj/Prod/hybrid-browser/node_modules/libp2p/dist/src/registrar.js:78:9)
at async WebRTCTransport.stop (file:///C:/Proj/Prod/hybrid-browser/node_modules/@libp2p/webrtc/dist/src/private-to-private/transport.js:63:9)
at async file:///C:/Proj/Prod/hybrid-browser/node_modules/libp2p/dist/src/components.js:24:13
at async Promise.all (index 8)
at async Proxy._invokeStartableMethod (file:///C:/Proj/Prod/hybrid-browser/node_modules/libp2p/dist/src/components.js:21:9)
at async Proxy.stop (file:///C:/Proj/Prod/hybrid-browser/node_modules/libp2p/dist/src/components.js:41:9)
at async Libp2p.stop (file:///C:/Proj/Prod/hybrid-browser/node_modules/libp2p/dist/src/libp2p.js:203:9)
i also get the error Error: Cannot sign message, no private key present sometimes too that crashes ipfs as well.
The text was updated successfully, but these errors were encountered:
Version: helia: 5.2.0/@libp2p/kad-dht 14.2.0
Platform: both linux and windows 64-bit
Subsystem: helia/libp2p/pubsub/kad-dht
Severity: Critical/High
what i did:
my repo https://github.com/HybridWare/hybrid-browser, use npm install and install all dependencies, and then use npm run start to start the electron app
what happened:
it crashes and the stack trace shows the issue is with libp2p
what i expected:
start the electron app as it should, but instead it crashes and libp2p seems to be the issue
i disabled ipfs/libp2p in my app and now my app works. below is the stack trace for the error that crashes ipfs/libp2p.
i also get the error
Error: Cannot sign message, no private key present
sometimes too that crashes ipfs as well.The text was updated successfully, but these errors were encountered: