Error starting sample web app

Hi all, I have cloned the web sample app from github but it is not running, I see in the logs that there is a problem with the start script but since I’m new to node and react I’m not able to figure it out on my own. I am assuming that the only thing I need to do to make the sample work was to run the steps provided on the homepage of the github repo, is that correct?
Maybe there is some additional configuration needed but I can’t figure it out, would be great to get some help. Thanks!

Description

  1. Cloned the repo from github (see link below)

  2. Edited index.js with my app credentials key and secret

  3. Followed these steps
    git clone https://github.com/zoom/sample-app-web.git --branch master --depth 1
    cd sample-app-web/Local
    npm install
    npm run start

Npm Run install returns the following error

Error
Since I’m a new user on the forum I can only post two links so I had to use pastebin for the error logs
https://pastebin.com/kwzENNGr

Which version?
Not sure, but I downloaded the repo today

To Reproduce(If applicable)
Steps to reproduce the behavior:
See above

Additional context
versions:
npm --version
6.13.6
node --version
v13.7.0
Linux Ubuntu 16.04 LTS
Running NPM start with SUDO outputs exactly same error

Found a workaround by removing --open http://localhost:9999/index.html from the package.json on line 9 in the start script

Is there something wrong in my setup that makes this to be needed?

Hey @gabriel.rf0, thanks for posting and using Zoom!

Glad you were able to resolve the issue.

Your setup seems correct. Not sure why the start script was failing.

Is everything working now?

Possibly related issue:

-Tommy

Hi Tommy,
Yes it works by removing the line mentioned, I am guessing that line was needed with a version of webpack that does not open the brower window for the app URL on its own. Is that why it’s there? I’m not familiar with the open flag.
But I am still assuming there is an error since the github project does not work just by running the commands mentioned on the main page. Maybe it would be a case to update that sample app and remove those lines

Hey @gabriel.rf0,

You are probably right. We will update the sample app to make sure it runs out of the box regardless of local webpack config / version.

Thanks,
Tommy