We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have to use version 1.3.0, is there a special way to integrate peereJS in this version? because I get the following error message:
Uncaught TypeError: _peerjs.Peer is not a constructor
this is how i embed peerjs and use it:
import { Peer } from "peerjs"; let init = function () { peer = new Peer({ host: "9000-peers-peerjsserver-sq8765p4pe8qac.ws-eu45.gitpod.io", port: 9000, path: "/", pingInterval: 5000, debug: 3, }); peer.on("open", function (id) { settings.peerid = id; });
The text was updated successfully, but these errors were encountered:
On 1.3 you have to use the default import: import Peer from "peerjs".
1.3
import Peer from "peerjs"
But you may not have to use the old version: #955 (comment)
Sorry, something went wrong.
No branches or pull requests
I have to use version 1.3.0, is there a special way to integrate peereJS in this version?
because I get the following error message:
Uncaught TypeError: _peerjs.Peer is not a constructor
this is how i embed peerjs and use it:
The text was updated successfully, but these errors were encountered: