2 Replies Latest reply on Apr 10, 2017 2:13 AM by Ingrid Sloots

    webdataconnector sample pack - error with NPM start

    Ingrid Sloots

      Hi,

       

      I have followed the instructions to run the simulator, but it throws a huge error after I run npm start. Do you have any suggestions on how to solve this?

       

       

       

      > webdataconnector@2.0.0 start /Users/bartschrijnen/webdataconnector

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

       

       

      > webdataconnector@2.0.0 http-server /Users/bartschrijnen/webdataconnector

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

       

       

      > webdataconnector@2.0.0 corsproxy /Users/bartschrijnen/webdataconnector

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

       

      events.js:160

            throw er; // Unhandled 'error' event

            ^

       

      Error: listen EADDRINUSE 0.0.0.0:8888

          at Object.exports._errnoException (util.js:1018:11)

          at exports._exceptionWithHostPort (util.js:1041:20)

          at Server._listen2 (net.js:1262:14)

          at listen (net.js:1298:10)

          at net.js:1408:9

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

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

          at Module.runMain (module.js:606:11)

          at run (bootstrap_node.js:393:7)

          at startup (bootstrap_node.js:150:9)

       

      npm ERR! Darwin 15.6.0

      npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run-script" "http-server"

      npm ERR! node v6.10.2

      npm ERR! npm v3.10.10

      npm ERR! code ELIFECYCLE

      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 'node node_modules/http-server/bin/http-server -p 8888 -c-1'.

      npm ERR! Make sure you have the latest version of node.js and npm installed.

      npm ERR! If you do, this is most likely a problem with the webdataconnector package,

      npm ERR! not with npm itself.

      npm ERR! Tell the author that this fails on your system:

      npm ERR!     node node_modules/http-server/bin/http-server -p 8888 -c-1

      npm ERR! You can get information on how to open an issue for this project with:

      npm ERR!     npm bugs webdataconnector

      npm ERR! Or if that isn't available, you can get their info via:

      npm ERR!     npm owner ls webdataconnector

      npm ERR! There is likely additional logging output above.

       

      npm ERR! Please include the following file with any support request:

      npm ERR!     /Users/bartschrijnen/webdataconnector/npm-debug.log

      ERROR: "http-server" exited with 1.

       

      npm ERR! Darwin 15.6.0

      npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"

      npm ERR! node v6.10.2

      npm ERR! npm v3.10.10

      npm ERR! code ELIFECYCLE

      npm ERR! webdataconnector@2.0.0 start: `node node_modules/npm-run-all/bin/npm-run-all --parallel corsproxy http-server`

      npm ERR! Exit status 1

      npm ERR!

      npm ERR! Failed at the webdataconnector@2.0.0 start script 'node node_modules/npm-run-all/bin/npm-run-all --parallel corsproxy http-server'.

      npm ERR! Make sure you have the latest version of node.js and npm installed.

      npm ERR! If you do, this is most likely a problem with the webdataconnector package,

      npm ERR! not with npm itself.

      npm ERR! Tell the author that this fails on your system:

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

      npm ERR! You can get information on how to open an issue for this project with:

      npm ERR!     npm bugs webdataconnector

      npm ERR! Or if that isn't available, you can get their info via:

      npm ERR!     npm owner ls webdataconnector

      npm ERR! There is likely additional logging output above.

       

      npm ERR! Please include the following file with any support request:

      npm ERR!     /Users/bartschrijnen/webdataconnector/npm-debug.log