-
Notifications
You must be signed in to change notification settings - Fork 344
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
ReferenceError: window is not defined #2242
Comments
Hi @daniel-liuzzi , this issue should be fixed now (PR: #2250), can you check again please? |
Hi @ralagana, So I updated to the latest webex (currently
From the looks of it, it seems related; I would think H.264 is available from a web browser but not from Node.js, but I'm no expert, so not 100% sure. In any case, sorry for the late reply and thanks for your PR! |
I'm not sure how I tested this. Today I tried with the latest 1.161.0 as well as 1.154.0 mentioned in my previous comment. Both still show the |
Having issues with v3.0.0 Welcome to Node.js v20.12.0.
Type ".help" for more information.
> require('webex')
Uncaught ReferenceError: window is not defined
at Object.<anonymous> (/Users/ricasare/Code/<REDACTED>/<REDACTED>/node_modules/@webex/plugin-meetings/node_modules/@webex/internal-media-core/dist/cjs/index.js:2065:29024)
at Module._compile (node:internal/modules/cjs/loader:1369:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1427:10)
at Module.load (node:internal/modules/cjs/loader:1206:32)
at Module._load (node:internal/modules/cjs/loader:1022:12)
at Module.require (node:internal/modules/cjs/loader:1231:19)
at require (node:internal/modules/helpers:179:18)
> |
@ricardocasares please follow #3510 where we are working on the root cause of the problem and a fix. Will be closing this one. |
Step 3 in the Node.js SDK instructions shows
LoggerProxy->error#NO LOGGER DEFINED
. In fact, merely importing 'webex/env' results in this error. The actual error is ReferenceError: window is not defined and seems to be caused by H264 codec detection trying to use the window object.Minimal repro
Output
The text was updated successfully, but these errors were encountered: