-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ReferenceError: CustomEvent is not defined #179
Comments
@zhenguang what version of NodeJS are you using? js-libp2p@2.0 removed the References |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
All the examples shows this
file:///Users/xxx/Documents/projects/xxx/js-libp2p-examples/node_modules/@libp2p/interface/dist/src/event-target.js:53
return this.dispatchEvent(new CustomEvent(type, detail));
^
ReferenceError: CustomEvent is not defined
at EventTarget.safeDispatchEvent (file:///Users/xxxx/Documents/projects/xxx/js-libp2p-examples/node_modules/@libp2p/interface/dist/src/event-target.js:53:39)
The text was updated successfully, but these errors were encountered: