Skip to content
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

Attempted import error: './node_modules/eventemitter3/index.js' does not contain a default export (imported as 'EventEmitter'). #41

Open
ilhamgum opened this issue Dec 5, 2023 · 1 comment
Assignees
Labels
bug Something isn't working Next.js

Comments

@ilhamgum
Copy link

ilhamgum commented Dec 5, 2023

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!
@ilhamgum ilhamgum added the bug Something isn't working label Dec 5, 2023
@Elius94
Copy link
Owner

Elius94 commented Dec 5, 2023

@mkubdev Hey, Can you help us to solve this issure related to Next.JS?
Thanks

@Elius94 Elius94 added the Next.js label Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Next.js
Projects
None yet
Development

No branches or pull requests

2 participants