-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Can't import the named export 'Encoder' & 'Decoder' #1271
Comments
jonasgloning
added a commit
that referenced
this issue
May 14, 2024
Using CBOR forces us to choose between #1271 and #1247. Our complicated importing and bundling situation makes using this library very hard. CBOR support has been undocumented, and we are not aware of significant usage in the wild. Therefore, we do not consider this a breaking change. To make our expectations clearer, this PR also marks MessagePack as `experimental`. We will improve our importing and bundling situation before reintroducing CBOR via a plugin. Closes #1271
Merged
jonasgloning
added a commit
that referenced
this issue
May 14, 2024
Using CBOR forces us to choose between #1271 and #1247. Our complicated importing and bundling situation makes using this library very hard. CBOR support has been undocumented, and we are not aware of significant usage in the wild. Therefore, we do not consider this a breaking change. To make our expectations clearer, this PR also marks MessagePack as `experimental`. We will improve our importing and bundling situation before reintroducing CBOR via a plugin. Closes #1271
🎉 This issue has been resolved in version 1.5.4 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: