Please, check for existing issues to avoid duplicates.
[X] No similar issues found.
What happened?
I am using peerjs in react 18.3.1 & Its giving below error on import Peer from "peerjs"; (I also tried import {Peer} from "peerjs";)
ERROR in ./node_modules/peerjs/dist/bundler.mjs 1901:28-42
Can't import the named export 'Encoder' (imported as '$gCcbY$Encoder') from default-exporting module (only default export is available)
ERROR in ./node_modules/peerjs/dist/bundler.mjs 1902:28-42
Can't import the named export 'Decoder' (imported as '$gCcbY$Decoder') from default-exporting module (only default export is available)
Please, check for existing issues to avoid duplicates.
What happened?
I am using peerjs in react 18.3.1 & Its giving below error on import Peer from "peerjs"; (I also tried import {Peer} from "peerjs";) ERROR in ./node_modules/peerjs/dist/bundler.mjs 1901:28-42 Can't import the named export 'Encoder' (imported as '$gCcbY$Encoder') from default-exporting module (only default export is available)
ERROR in ./node_modules/peerjs/dist/bundler.mjs 1902:28-42 Can't import the named export 'Decoder' (imported as '$gCcbY$Decoder') from default-exporting module (only default export is available)
How can we reproduce the issue?
No response
What do you expected to happen?
I am getting error in import peerjs
Environment setup
Is this a regression?
No response
Anything else?
No response