# Error starting sample web app

**URL:** <https://devforum.zoom.us/t/error-starting-sample-web-app/8466>\
**Category:** Web\
**Created:** [March 9, 2020, 1:11am UTC](https://devforum.zoom.us/t/error-starting-sample-web-app/8466 "2020-03-09T01:11:14Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![gabriel.rf0](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gabriel.rf0/32/3438_2.png) [@gabriel.rf0](https://devforum.zoom.us/u/gabriel.rf0)\
**Post date:** [March 9, 2020, 1:11am UTC](https://devforum.zoom.us/t/error-starting-sample-web-app/8466/1 "2020-03-09T01:11:14Z")

</div>

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](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](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

---

<div class="post-metadata">

**Author:** ![gabriel.rf0](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gabriel.rf0/32/3438_2.png) [@gabriel.rf0](https://devforum.zoom.us/u/gabriel.rf0)\
**Post date:** [March 9, 2020, 3:40pm UTC](https://devforum.zoom.us/t/error-starting-sample-web-app/8466/2 "2020-03-09T15:40:00Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [March 9, 2020, 4:37pm UTC](https://devforum.zoom.us/t/error-starting-sample-web-app/8466/3 "2020-03-09T16:37:43Z")

</div>

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:

> [@Run sample-app-web](https://devforum.zoom.us/t/run-sample-app-web/8315):
>
> Description I tried to test the CDN web sdk sample on my pc, after of clone and run the “npm install” command all is ok. but when I run the “npm run start” command, the command window show an issue and I can’t test the web app. Error [imagen] Which version? node: v10.15.3 npm: v6.4.1 Device: Web OS: WIndows 7 Version: Home Basic Browser: Firefox 68.0.1 (64-bit) Additional context I plan to integrate this web sdk to my page [ERP - PHP]. someone could help me with the issue ? thanks …

-Tommy

---

<div class="post-metadata">

**Author:** ![gabriel.rf0](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gabriel.rf0/32/3438_2.png) [@gabriel.rf0](https://devforum.zoom.us/u/gabriel.rf0)\
**Post date:** [March 9, 2020, 4:51pm UTC](https://devforum.zoom.us/t/error-starting-sample-web-app/8466/4 "2020-03-09T16:51:48Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [March 9, 2020, 4:55pm UTC](https://devforum.zoom.us/t/error-starting-sample-web-app/8466/5 "2020-03-09T16:55:22Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 7:29pm UTC](https://devforum.zoom.us/t/error-starting-sample-web-app/8466/6 "2020-08-21T19:29:47Z")

</div>


