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

Need to fix for Node #295

Open
jonniespratley opened this issue Mar 8, 2022 · 0 comments
Open

Need to fix for Node #295

jonniespratley opened this issue Mar 8, 2022 · 0 comments

Comments

@jonniespratley
Copy link
Contributor

$  babel-node ./scripts/start.js   
/Users/jspratle/Github/sdk-component-adapter/src/utils.js:128
const isSpeakerSupported = !!document.createElement('audio').setSinkId;
                           ^

ReferenceError: document is not defined
    at Object.<anonymous> (/Users/jspratle/Github/sdk-component-adapter/src/utils.js:119:35)

Need to fix the conditional to handle when running in NodeJS

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

1 participant