Hello,
I'v succeeded to run start:sample on Macbook, but not on the other OS. I've been trying to run WebRTC SDK sample on Windows & Linux.Please let me get some help for the following issues.
< Windows >
After executing 'npm run start:sample', I can access via localhost, but connot do via port forwarding.
(Port forwarding condition is verified with a different web-server program.)
Tried to specify 'host' on the 'start' script, but no effect. ( "start": "stupid-server -s -p 8443 -h 192.168.0.120" )
< Linux >
I've tried on Ubuntu18, Centos7. I cannot access 'localhost:8443/test/test-pages/dev'. Error tells me 'ERR_EMPTY_RESPONSE'.
@jbmpark Sorry you've been experiencing issues. We probably need to go through our scripts and name them better, but will you please try it with npm run build-run-local then try going to https://localhost:8443/test/test-pages/dev. It doesn't force https and I believe you get the EMPTY_RESPONSE when you hit the http url.
@anon78929116
Thank you for your suggestion, but no difference I got.
First of all, 'npm run build-run-local' does not finish. I think there is some 'path' issue on Linux. I've only changed the build file 'build-dev.sh' to use /bin/bash (added #!/bin/bash) after facing 'popd not found' issue.
Here is a log :
Hello, first I want to echo Garrett's sentiments and apologize for the issues you are currently facing. As for the logs you are seeing after running npm run build-run-local, I ran it on my end and got roughly the same except for a few small changes. Then navigating to the page behaved as expected. When I first started working on the SDK however (on a Windows machine), there was something I had to do and that seemingly helped with the process. I created a new script in the package.json called build:all. I am not sure if it is needed or will help but I started noticing differences after it. The script looks like this "build:all": "npm run build && npm run build:cjs && npm run build:es && npm run build:cdn && npm run build:sample". Again not sure how necessary this is but it ensures everything gets built. Once that completes, then I run npm run build-run-local. Let me know if this helps in anyway. If not, I can try and continue to provide assistance.