2 Replies Latest reply on Jan 16, 2018 4:08 PM by Andrew Berti

    Error running wdc setup from git - npm start

    Andrew Berti

      Running npm start gives the following error. I have been through the steps as described here: Setting up Web Data Connector from Git - npm start ERROR

       

      but I still have this issue.

       

      > webdataconnector@2.0.0 start C:\Users\andy\Documents\Repo\webdataconnector

      > node node_modules/npm-run-all/bin/npm-run-all --parallel corsproxy http-server

       

       

      > webdataconnector@2.0.0 corsproxy C:\Users\andy\Documents\Repo\webdataconnector

      > set CORSPROXY_PORT=8889 || set CORSPROXY_PORT=8889 && node node_modules/corsproxy/bin/corsproxy

       

       

      > webdataconnector@2.0.0 http-server C:\Users\andy\Documents\Repo\webdataconnector

      > node node_modules/http-server/bin/http-server -p 8888 -c-1

       

      events.js:183

            throw er; // Unhandled 'error' event

            ^

       

      Error: listen EACCES 0.0.0.0:8888

          at Object._errnoException (util.js:1022:11)

          at _exceptionWithHostPort (util.js:1044:20)

          at Server.setupListenHandle [as _listen2] (net.js:1334:19)

          at listenInCluster (net.js:1392:12)

          at doListen (net.js:1501:7)

          at _combinedTickCallback (internal/process/next_tick.js:141:11)

          at process._tickCallback (internal/process/next_tick.js:180:9)

          at Function.Module.runMain (module.js:686:11)

          at startup (bootstrap_node.js:187:16)

          at bootstrap_node.js:608:3

      npm ERR! code ELIFECYCLE

      npm ERR! errno 1

      npm ERR! webdataconnector@2.0.0 http-server: `node node_modules/http-server/bin/http-server -p 8888 -c-1`

      npm ERR! Exit status 1

      npm ERR!

      npm ERR! Failed at the webdataconnector@2.0.0 http-server script.

      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

      events.js:183

            throw er; // Unhandled 'error' event

            ^

       

       

      Error: listen EACCES 0.0.0.0:8888

          at Object._errnoException (util.js:1022:11)

          at _exceptionWithHostPort (util.js:1044:20)

          at Server.setupListenHandle [as _listen2] (net.js:1334:19)

          at listenInCluster (net.js:1392:12)

          at doListen (net.js:1501:7)

          at _combinedTickCallback (internal/process/next_tick.js:141:11)

          at process._tickCallback (internal/process/next_tick.js:180:9)

          at Function.Module.runMain (module.js:686:11)

          at startup (bootstrap_node.js:187:16)

          at bootstrap_node.js:608:3