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
Steps to reproduce the error:
clone the repo https://github.com/HybridWare/hybrid-browser
use npm install
then use npm run start
and it crashes because of libp2p
it crashes on both linux and windows, i do not have a mac system so i can't test it on mac
this is the stack trace it gives
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)
The text was updated successfully, but these errors were encountered:
ducksandgoats
changed the title
ReferenceError: CustomEvent is not defined - with stack trace
crashes - ReferenceError: CustomEvent is not defined - with stack trace
Jan 23, 2025
i disabled ipfs/libp2p on my app and my app works now. so there is some issue with ipfs/libp2p. i either get this ReferenceError or i get Error: Cannot sign message, no private key present when i enable ipfs.
Severity: Critical, at least High
Description:
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
Steps to reproduce the error:
clone the repo https://github.com/HybridWare/hybrid-browser
use npm install
then use npm run start
and it crashes because of libp2p
it crashes on both linux and windows, i do not have a mac system so i can't test it on mac
this is the stack trace it gives
The text was updated successfully, but these errors were encountered: