But this didn’t make a difference. I also tried NOT changing the port, and entering ‘yes’ when prompted with the Terminal warning "It looks like another app is using this port. Would you like to use a different one?" Same thing…it just hangs at “Starting the development server”.
Any suggestions?
For what it’s worth, I’m only trying to run the SampleApp so that is generates the required files for me to create a standalone bundle, as the wonderful bekit described here:
Additional notes:
While it’s hanging, my site stops serving page requests until I close the terminal window
Which Web Video SDK version?
1.0.2, downloaded today
To Reproduce(If applicable) npm run start as described in SampleApp instructions
For what it’s worth, I don’t think you actually have to run it to get the files that you need. As long as you can get the npm install to work and copy over the @zoomus folder, browserify may still work.
One thing to confirm is that you are using Node 14. Apparently newer versions won’t work.
Ohh you rock! Your other post mentioned the Sample/public/lib folder (which does exist for me locally but not on the server), but I guess this is probably just copied from 1.0.2/Sample/@zoomus/instantsdk/dist/lib/ upon npm run start?
Anyways…I will try this tonight and report back, hopefully confirming success.
Update: I jumped the gun when I said “all is working now”.
Last night I only confirmed I got no console errors on page load, and that ZoomInstant was defined with calls such as ZoomInstant.createClient() exposed.
Now that I’m trying to connect two users to a session, I am getting errors that JsMediaSDK_Instance isn’t defined:
@bekit Did you go as far as connecting two users to a session when you tested yesterday?
It seems the error is occurring in the following code:
^That code is located in zoom-instant-sdk-web-1.0.2/Sample/dist/static/js/vendors~main.chunk.js (line 68415).
I confirmed it’s also minified in my browserify output file, but ...Sample/dist/ is one of the paths created upon npm run start (therefore I don’t have it on server) so I wonder if that’s related at all…
Any advice on where JsMediaSDK_Instance is defined / how to reference it without building the Sample app?
Glad you got it figgured out. That was going to be my first guess as well since I got some weird errors until I got my the lib pathing figured out originally.