-
Notifications
You must be signed in to change notification settings - Fork 262
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
error - ReferenceError: EventTarget is not defined #937
Comments
@Jairwin-L I was unable to reproduce this issue. See the following Stackblitz which has React and @vimeo/player and all seems to work well. If you can help us reproduce this issue or if you can provide more details about your setup and code we'd be happy to investigate further. |
let me think about it |
@salmoro I re-reproduced this problem. It seems to be because of the node version. There are two node versions on my computer: 14.19.3 and 18.0.0. The 14 version will have this error, and the 18 version will not |
If I rollback vimeo/player version 2.18.0 it works with server side with node 14.18 |
Not sure what happened in 2.19 to break it, but I'm going to close this one out because Node 20 is now the LTS version. |
install using pnpm, then pnpm dev
env info
guess there might be something wrong here: https://github.com/vimeo/player.js/blob/master/src/lib/functions.js#L117
The text was updated successfully, but these errors were encountered: