-
Notifications
You must be signed in to change notification settings - Fork 11
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
Cannot read property 'on' of undefined #1
Comments
Hi Marco, you code looks correct, can you share your repo with me? I'll to try simulate this problem here locally. Tip: Add a
It must log a connection object. |
Hi! |
Hi Marco, the problem it's You're using a recent version, something need to be done of the new way. Att, Matheus |
Hi Matheus, after few trials, now it is working https://github.com/marcoippolito/PeerJS-VueJS-Test |
Hey Marco, nice man. Well done. |
Hi!
in order to fully understand how to use peerjs with vuejs, I'm trying to replicate what you excellently you have done but without pug.
This my very easy Peerjs.vue:
When clicking to "Connect to my friend!" I get "Error in v-on handler: "TypeError: Cannot read property 'on' of undefined"
What's wrong with
?
Looking forward to your kind help.
Marco
The text was updated successfully, but these errors were encountered: