Skip to content
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

Geting this TypeError: Cannot read properties of undefined (reading 'OPUS') #71

Open
BlackBox-cmd opened this issue Aug 16, 2024 · 1 comment

Comments

@BlackBox-cmd
Copy link

/home/container/handlers/Client.js:63
streamType: StreamType.OPUS, // Use opus stream for better performance
^
TypeError: Cannot read properties of undefined (reading 'OPUS')
at new JUGNU (/home/container/handlers/Client.js:63:30)
at Object. (/home/container/index.js:5:16)
at Module._compile (node:internal/modules/cjs/loader:1358:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
at Module.load (node:internal/modules/cjs/loader:1208:32)
at Module._load (node:internal/modules/cjs/loader:1024:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
at node:internal/main/run_main_module:28:49
Node.js v20.16.0

@himitsu95
Copy link

Rule no 69: if code doesn't work remove the line where's the error 😆
remove the line "streamType: StreamType.OPUS," in handlers/Client.js line 63

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants