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

🐛Issue with creating a non browser based offer client #18

Open
Slavabala-nand opened this issue Oct 8, 2024 · 0 comments
Open

🐛Issue with creating a non browser based offer client #18

Slavabala-nand opened this issue Oct 8, 2024 · 0 comments

Comments

@Slavabala-nand
Copy link

Describe the bug
Failing to launch a ts-node server as an offer client due to:
ReferenceError: self is not defined
at Object.<anonymous> (webpack://QRCodeStyling/webpack/universalModuleDefinition:10:4)

To Reproduce

  1. Create a Offer.ts file that only has the offer client relevant code.
  2. Launch it through ts-node Offer.ts

Expected behavior
The web origin and session ID are hard coded for testing and when executed they should exchange a Hello World! message.

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser: Chromium Based
  • Version: Latest

Smartphone (please complete the following information):

  • Device: iPhone 12
  • OS: iOS 17.8
  • Browser: Chrome
  • Version: Latest

Additional context
Same error persists if compiled the .ts file using tsc into a .js file.

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