Attempted import error: './node_modules/eventemitter3/index.js' does not contain a default export (imported as 'EventEmitter').
What happened?
I just using your library on Nextjs 14 app router project, I already follow the instructions about the setup, and it's pretty easy and clear, then I got this error
Attempted import error: './node_modules/eventemitter3/index.js' does not contain a default export (imported as 'EventEmitter').
What should have happened?
The error should not be shown, because it's from eventemitter3, which I don't know what that is yet.
Code
No response
Sandbox Link
No response
Library Version
^4.0.2-psv5.4.4
What operating system are you using?
Windows
What browser are you using?
Edge
Logs
Attempted import error: './node_modules/eventemitter3/index.js' does not contain a default export (imported as 'EventEmitter').```
### Interest to fix the bug
- [ ] I would like to fix this bug!
@mkubdev Hey, Can you help us to solve this issure related to Next.JS? Thanks
@Elius94 Hello, it's 2025 (bit late), I can't reproduce this error (same as #47)
Thank @mkubdev for your help as always! I close also this issue due to inability of reproducing :)