# ./startServer error

**URL:** <https://discourse.sst.dev/t/startserver-error/1845>\
**Category:** General\
**Created:** [May 15, 2020, 10:17am UTC](https://discourse.sst.dev/t/startserver-error/1845 "2020-05-15T10:17:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![StErMi](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/stermi/32/876_2.png) [@StErMi](https://discourse.sst.dev/u/StErMi)\
**Post date:** [May 15, 2020, 10:17am UTC](https://discourse.sst.dev/t/startserver-error/1845/1 "2020-05-15T10:17:54Z")

</div>

Hi,

I’ve cloned [serverless-stack-demo-ext-api](https://github.com/AnomalyInnovations/serverless-stack-demo-ext-api/blob/master/package.json), I’ve installed all the dependences but when I try to run `./startServer` I got this error

```
$ ./startServer 
internal/modules/cjs/loader.js:613
    throw err;
    ^

Error: Cannot find module 'http-proxy'
Require stack:
- C:\Users\stermi\dev\workspace_serverless\serverless-stack-demo-ext-api\startServer
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:610:15)
    at Function.Module._load (internal/modules/cjs/loader.js:526:27)
    at Module.require (internal/modules/cjs/loader.js:666:19)
    at require (internal/modules/cjs/helpers.js:16:16)
    at Object.<anonymous> (C:\Users\stermi\dev\workspace_serverless\serverless-stack-demo-ext-api\startServer:5:19)
    at Module._compile (internal/modules/cjs/loader.js:759:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:770:10)
    at Module.load (internal/modules/cjs/loader.js:628:32)
    at Function.Module._load (internal/modules/cjs/loader.js:555:12)
    at Function.Module.runMain (internal/modules/cjs/loader.js:826:10)

```

so I’ve also installed `http-proxy` as a dev dependency. After that if I run again the command I get this error:

```
$ ./startServer
events.js:173
      throw er; // Unhandled 'error' event
      ^

Error: spawn sls ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:248:19)
    at onErrorNT (internal/child_process.js:431:16)
    at processTicksAndRejections (internal/process/task_queues.js:83:17)
    at process.runNextTicks [as _tickCallback] (internal/process/task_queues.js:58:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:828:11)
    at internal/main/run_main_module.js:17:11
Emitted 'error' event at:
    at Process.ChildProcess._handle.onexit (internal/child_process.js:254:12)
    at onErrorNT (internal/child_process.js:431:16)
    [... lines matching original stack trace ...]
    at internal/main/run_main_module.js:17:11

```

what’s the problem? am I missing something? how can I solve it?

---

<div class="post-metadata">

**Author:** ![jayair](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/jayair/32/9_2.png) [@jayair](https://discourse.sst.dev/u/jayair)\
**Post date:** [May 17, 2020, 6:37pm UTC](https://discourse.sst.dev/t/startserver-error/1845/2 "2020-05-17T18:37:34Z")

</div>

I see you’ve opened a GitHub issue for this as well. I replied there.
