# Sample-web-app npm run start issue

**URL:** <https://devforum.zoom.us/t/sample-web-app-npm-run-start-issue/8515>\
**Category:** Web\
**Created:** [March 10, 2020, 12:37pm UTC](https://devforum.zoom.us/t/sample-web-app-npm-run-start-issue/8515 "2020-03-10T12:37:42Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![tom.woodley](https://avatars.discourse-cdn.com/v4/letter/t/e8c25b/32.png) [@tom.woodley](https://devforum.zoom.us/u/tom.woodley)\
**Post date:** [March 10, 2020, 12:37pm UTC](https://devforum.zoom.us/t/sample-web-app-npm-run-start-issue/8515/1 "2020-03-10T12:37:42Z")

</div>

**Description**  
Hello. I’m having an issue getting you sample-web-app up and running (cloned from [here](https://github.com/zoom/sample-app-web.git) ). When running _npm run start_ I get these errors.

**Error**

> npm run start  
> websdk-cdn@1.7.2 start C:\Users\Operator\Desktop\sample-app-web\CDN  
> concurrently “http-server -a 0.0.0.0 -p 9999 -c-1 -o index.html”  
> events.js:174  
> throw er; // Unhandled ‘error’ event  
> ^  
> Error: listen EACCES: permission denied 0.0.0.0:9999  
> at Server.setupListenHandle [as \_listen2] (net.js:1260:19)  
> at listenInCluster (net.js:1325:12)  
> at doListen (net.js:1458:7)  
> at process.\_tickCallback (internal/process/next\_tick.js:63:19)  
> at Function.Module.runMain (internal/modules/cjs/loader.js:745:11)  
> at startup (internal/bootstrap/node.js:283:19)  
> at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)  
> Emitted ‘error’ event at:  
> at emitErrorNT (net.js:1304:8)  
> at process.\_tickCallback (internal/process/next\_tick.js:63:19)  
> [… lines matching original stack trace …]  
> at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3) http-server -a 0.0.0.0 -p 9999 -c-1 -o index.html exited with code 1  
> npm ERR! code ELIFECYCLE  
> npm ERR! errno 1  
> npm ERR! websdk-cdn@1.7.2 start: `concurrently "http-server -a 0.0.0.0 -p 9999 -c-1 -o index.html"`  
> npm ERR! Exit status 1  
> npm ERR!  
> npm ERR! Failed at the websdk-cdn@1.7.2 start script.  
> npm ERR! This is probably not a problem with npm. There is likely additional logging output above.  
> npm ERR! A complete log of this run can be found in:  
> npm ERR! C:\Users\Operator\AppData\Roaming\npm-cache\_logs\2020-03-10T10\_58\_37\_514Z-debug.log

**Steps Taken**

- Cloned repo
- Ran npm install
- Added SDK key and secret to index.js (it does ask for an API key, but assuming these are the same thing)
- Ran npm

**Which version?**  
Using version 1.7.2 of the sample web app.  
Windows 10 Pro  
VS code  
Node - v10.15.1  
NPM - 6.4.1

I’ve had a read through some of the other posts and see people are having similar issues. I tried to use the fixes suggested but had no luck. Any help would be greatly apprieiated!

Many thanks

---

<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 10, 2020, 5:02pm UTC](https://devforum.zoom.us/t/sample-web-app-npm-run-start-issue/8515/2 "2020-03-10T17:02:19Z")

</div>

Hey @tom.woodley, thanks for posting and using Zoom!

Can you try just running `$ http-server` in terminal instead of `$ npm run start`?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![tom.woodley](https://avatars.discourse-cdn.com/v4/letter/t/e8c25b/32.png) [@tom.woodley](https://devforum.zoom.us/u/tom.woodley)\
**Post date:** [March 10, 2020, 6:01pm UTC](https://devforum.zoom.us/t/sample-web-app-npm-run-start-issue/8515/3 "2020-03-10T18:01:58Z")

</div>

No problem thanks for getting back to me.

So I ran npm run https and got a similar error (log below). Anything else I can try?

Many thanks

Tom

```
npm run https

> websdk-cdn@1.7.2 https C:\Users\Operator\Desktop\sample-app-web\CDN
> concurrently "http-server -a 0.0.0.0 -p 9999 -c-1 -S -C localhost.crt -K localhost.key -o https://localhost:9999/index.html"

[0] events.js:174
[0] throw er; // Unhandled 'error' event
[0] ^
[0] 
[0] Error: listen EACCES: permission denied 0.0.0.0:9999
[0] at Server.setupListenHandle [as _listen2] (net.js:1260:19)        
[0] at listenInCluster (net.js:1325:12)
[0] at process._tickCallback (internal/process/next_tick.js:63:19)
[0] at Function.Module.runMain (internal/modules/cjs/loader.js:745:11)
[0] at startup (internal/bootstrap/node.js:283:19)
[0] at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
[0] Emitted 'error' event at:
[0] at emitErrorNT (net.js:1304:8)
[0] at process._tickCallback (internal/process/next_tick.js:63:19)
[0] [... lines matching original stack trace ...]
[0] at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
[0] http-server -a 0.0.0.0 -p 9999 -c-1 -S -C localhost.crt -K localhost.key -o https://localhost:9999/index.html exited with code 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! websdk-cdn@1.7.2 https: `concurrently "http-server -a 0.0.0.0 -p 9999 -c-1 -S -C localhost.crt -K localhost.key -o https://localhost:9999/index.html"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the websdk-cdn@1.7.2 https script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Operator\AppData\Roaming\npm-cache\_logs\2020-03-10T17_53_00_671Z-debug.log
PS C:\Users\Operator\Desktop\sample-app-web\CDN> npm run https

> websdk-cdn@1.7.2 https C:\Users\Operator\Desktop\sample-app-web\CDN
> concurrently "http-server -a 0.0.0.0 -p 9999 -c-1 -S -C localhost.crt -K localhost.key -o https://localhost:9999/index.html"

[0] events.js:174
[0] throw er; // Unhandled 'error' event
[0] ^
[0]
[0] Error: listen EACCES: permission denied 0.0.0.0:9999
[0] at Server.setupListenHandle [as _listen2] (net.js:1260:19)
[0] at listenInCluster (net.js:1325:12)
PS C:\Users\Operator\Desktop\sample-app-web\CDN> npm run https

> websdk-cdn@1.7.2 https C:\Users\Operator\Desktop\sample-app-web\CDN
> concurrently "http-server -a 0.0.0.0 -p 9999 -c-1 -S -C localhost.crt -K localhost.key -o https://localhost:9999/index.html"

[0] events.js:174
[0] throw er; // Unhandled 'error' event
[0] ^
[0]
[0] Error: listen EACCES: permission denied 0.0.0.0:9999
[0] at Server.setupListenHandle [as _listen2] (net.js:1260:19)        
[0] at listenInCluster (net.js:1325:12)
[0] at process._tickCallback (internal/process/next_tick.js:63:19)
[0] at Function.Module.runMain (internal/modules/cjs/loader.js:745:11)
[0] at startup (internal/bootstrap/node.js:283:19)
[0] at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
[0] Emitted 'error' event at:
[0] at emitErrorNT (net.js:1304:8)
[0] at process._tickCallback (internal/process/next_tick.js:63:19)
[0] [... lines matching original stack trace ...]
[0] http-server -a 0.0.0.0 -p 9999 -c-1 -S -C localhost.crt -K localhost.key -o https://localhost:9999/index.html exited with code 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! websdk-cdn@1.7.2 https: `concurrently "http-server -a 0.0.0.0 -p 9999 -c-1 -S -C localhost.crt -K localhost.key -o https://localhost:9999/index.html"`
PS C:\Users\Operator\Desktop\sample-app-web\CDN> npm run https      

> websdk-cdn@1.7.2 https C:\Users\Operator\Desktop\sample-app-web\CDN
> concurrently "http-server -a 0.0.0.0 -p 9999 -c-1 -S -C localhost.crt -K localhost.key -o https://localhost:9999/index.html"

[0] events.js:174
[0] throw er; // Unhandled 'error' event
[0] ^
[0]
[0] Error: listen EACCES: permission denied 0.0.0.0:9999
[0] at Server.setupListenHandle [as _listen2] (net.js:1260:19)        
[0] at listenInCluster (net.js:1325:12)
[0] at doListen (net.js:1458:7)
[0] at process._tickCallback (internal/process/next_tick.js:63:19)
[0] at Function.Module.runMain (internal/modules/cjs/loader.js:745:11)
[0] at startup (internal/bootstrap/node.js:283:19)
[0] at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
[0] Emitted 'error' event at:
[0] at emitErrorNT (net.js:1304:8)
[0] at process._tickCallback (internal/process/next_tick.js:63:19)
[0] [... lines matching original stack trace ...]
[0] at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
[0] http-server -a 0.0.0.0 -p 9999 -c-1 -S -C localhost.crt -K localhost.key -o https://localhost:9999/index.html exited with code 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! websdk-cdn@1.7.2 https: `concurrently "http-server -a 0.0.0.0 -p 9999 -c-1 -S -C localhost.crt -K localhost.key -o https://localhost:9999/index.html"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the websdk-cdn@1.7.2 https script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Operator\AppData\Roaming\npm-cache\_logs\2020-03-10T17_55_43_241Z-debug.log
```

---

<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 10, 2020, 6:16pm UTC](https://devforum.zoom.us/t/sample-web-app-npm-run-start-issue/8515/4 "2020-03-10T18:16:01Z")

</div>

Hey @tom.woodley,

Did you try running `http-server` in terminal?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![tom.woodley](https://avatars.discourse-cdn.com/v4/letter/t/e8c25b/32.png) [@tom.woodley](https://devforum.zoom.us/u/tom.woodley)\
**Post date:** [March 10, 2020, 7:05pm UTC](https://devforum.zoom.us/t/sample-web-app-npm-run-start-issue/8515/5 "2020-03-10T19:05:50Z")

</div>

I think so…

Sorry if I’m missing something obvious here.

So, I run http-server from my terminal and get this

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/3/3fcf69cf6da62caf32e352aaece817d85b004642.png)

I’ve checked my package.json file and http-server is listed as a dependency.  
To double check it’s installed I’ve run `npm http-server -v` and get 6.4.1.

Is that what you meant?

---

<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 10, 2020, 7:16pm UTC](https://devforum.zoom.us/t/sample-web-app-npm-run-start-issue/8515/6 "2020-03-10T19:16:05Z")

</div>

Hey @tom.woodley,

Can you schedule a meeting with me here so I can better assist.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![tharakaravishan](https://avatars.discourse-cdn.com/v4/letter/t/90db22/32.png) [@tharakaravishan](https://devforum.zoom.us/u/tharakaravishan)\
**Post date:** [April 3, 2020, 8:49am UTC](https://devforum.zoom.us/t/sample-web-app-npm-run-start-issue/8515/7 "2020-04-03T08:49:17Z")

</div>

Hi,

Im having the same issue here. Can someone please let me know how this being solved

---

<div class="post-metadata">

**Author:** ![tom.woodley](https://avatars.discourse-cdn.com/v4/letter/t/e8c25b/32.png) [@tom.woodley](https://devforum.zoom.us/u/tom.woodley)\
**Post date:** [April 3, 2020, 9:01am UTC](https://devforum.zoom.us/t/sample-web-app-npm-run-start-issue/8515/8 "2020-04-03T09:01:53Z")

</div>

Hey I had a call with Tommy about this. The issue I was having is that I didn’t have [http-server](https://www.npmjs.com/package/http-server) installed globally.

Hope that helps!

---

<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:** [April 3, 2020, 7:50pm UTC](https://devforum.zoom.us/t/sample-web-app-npm-run-start-issue/8515/9 "2020-04-03T19:50:02Z")

</div>

Hey @tharakaravishan,

Yes, please install http-server globally, `npm install http-server -g`

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![salman.hubilo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/salman.hubilo/32/5514_2.png) [@salman.hubilo](https://devforum.zoom.us/u/salman.hubilo)\
**Post date:** [April 9, 2020, 10:09am UTC](https://devforum.zoom.us/t/sample-web-app-npm-run-start-issue/8515/10 "2020-04-09T10:09:51Z")

</div>

Hey @tommy,

i had also faced similar issue and above solution helps me out to run sample app, but app is running on port:8080 and not able to connect or join meeting.

It on show input data in url, for more detail you can read below thread.

> [@SDK 1.7.4 Sample app not able to join a webinar](https://devforum.zoom.us/t/sdk-1-7-4-sample-app-not-able-to-join-a-webinar/12208):
>
> By following this link [https://github.com/zoom/sample-app-web](https://github.com/zoom/sample-app-web), i have clone source and then configure API\_KEY and API\_SECRET in index.js(project/Local/js) also added user email and password. Following this link [Sample-web-app npm run start issue](https://devforum.zoom.us/t/sample-web-app-npm-run-start-issue/8515), i had also installed http-server in local environment. When i run the command http-server in local it gives below output is the top section of screen When we click on join button it doesn’t generate any action it only append form data in url as…

Thanks,  
Salman.

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [April 10, 2020, 7:07am UTC](https://devforum.zoom.us/t/sample-web-app-npm-run-start-issue/8515/11 "2020-04-10T07:07:16Z")

</div>

Hi @salman.hubilo

Try to upgrade to version 1.7.5 and deactivate then reactive your JWT app to see if you’re able to join meetings.

---

<div class="post-metadata">

**Author:** ![salman.hubilo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/salman.hubilo/32/5514_2.png) [@salman.hubilo](https://devforum.zoom.us/u/salman.hubilo)\
**Post date:** [April 10, 2020, 7:19am UTC](https://devforum.zoom.us/t/sample-web-app-npm-run-start-issue/8515/12 "2020-04-10T07:19:38Z")

</div>

Hi @michael_p.zoom,

You mean to say to upgrade version of zoom sdk to 1.7.5

Thanks,  
Salman.

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [April 10, 2020, 7:58am UTC](https://devforum.zoom.us/t/sample-web-app-npm-run-start-issue/8515/13 "2020-04-10T07:58:39Z")

</div>

@salman.hubilo Yes please update to version 1.7.5. Let us know if this helps

---

<div class="post-metadata">

**Author:** ![salman.hubilo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/salman.hubilo/32/5514_2.png) [@salman.hubilo](https://devforum.zoom.us/u/salman.hubilo)\
**Post date:** [April 10, 2020, 11:09am UTC](https://devforum.zoom.us/t/sample-web-app-npm-run-start-issue/8515/14 "2020-04-10T11:09:09Z")

</div>

Hi @michael_p.zoom,

I have tried updating zoom sdk version but still facing same issue, below i had attached console screen shot.

 ![Screenshot from 2020-04-10 16-36-57](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/4/44801f07ac2a835bbf0859d2f2f2859d3c42cd9a.png)

Thanks,  
Salman.

---

<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:** [April 11, 2020, 4:06am UTC](https://devforum.zoom.us/t/sample-web-app-npm-run-start-issue/8515/15 "2020-04-11T04:06:25Z")

</div>

Hey @salman.hubilo,

Replied to you in your thread:

> [@SDK 1.7.4 Sample app not able to join a webinar](https://devforum.zoom.us/t/sdk-1-7-4-sample-app-not-able-to-join-a-webinar/12208/6):
>
> Hey @salman.hubilo, Were you able to get it running via http-server? Thanks, Tommy

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![Evanatzend](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/evanatzend/32/11199_2.png) [@Evanatzend](https://devforum.zoom.us/u/Evanatzend)\
**Post date:** [April 27, 2020, 1:05pm UTC](https://devforum.zoom.us/t/sample-web-app-npm-run-start-issue/8515/16 "2020-04-27T13:05:46Z")

</div>

npm install http-server -g  
or sudo npm install http-server -g

---

<div class="post-metadata">

**Author:** ![Evanatzend](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/evanatzend/32/11199_2.png) [@Evanatzend](https://devforum.zoom.us/u/Evanatzend)\
**Post date:** [April 27, 2020, 1:07pm UTC](https://devforum.zoom.us/t/sample-web-app-npm-run-start-issue/8515/17 "2020-04-27T13:07:28Z")

</div>

hello its running but im getting no response the form attempts to send a post request.

---

<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:** [April 30, 2020, 8:39pm UTC](https://devforum.zoom.us/t/sample-web-app-npm-run-start-issue/8515/18 "2020-04-30T20:39:16Z")

</div>

Hey @Evanatzend,

Can you clarify what your issue is? Please create a new topic with all the details.

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, 8:59pm UTC](https://devforum.zoom.us/t/sample-web-app-npm-run-start-issue/8515/19 "2020-08-21T20:59:30Z")

</div>


