Elius94 / react-photo-sphere-viewer

Photosphere Viewer for React.JS
MIT License
65 stars 21 forks source link

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

Open ilhamgum opened 10 months ago

ilhamgum commented 10 months ago

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!
Elius94 commented 10 months ago

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