3 Replies Latest reply on Jun 11, 2017 1:31 PM by Kim Vinson

    Setting up Web Data Connector from Git - npm start ERROR

    Kim Vinson

       

       

      I have followed the instructions on the Get Started page

       

      Windows 10 OS

      Installed Git and node.js with npm

       

      This went fine: git clone https://github.com/tableau/webdataconnector.git

      This went fine: npm install --production

       

      But when I use: npm start

      I get the errors below (log file is attached)

      I am prolly doing something stupid and obvious, but i have tried this several times

       

      C:\Users\kvinson\Dropbox\Braves Stuff\Tableau\Git\webdataconnector>npm start

       

      > webdataconnector@2.0.0 start C:\Users\kvinson\Dropbox\Braves Stuff\Tableau\Git\webdataconnector

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

       

      > webdataconnector@2.0.0 http-server C:\Users\kvinson\Dropbox\Braves Stuff\Tableau\Git\webdataconnector

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

       

      > webdataconnector@2.0.0 corsproxy C:\Users\kvinson\Dropbox\Braves Stuff\Tableau\Git\webdataconnector

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

       

      'export' is not recognized as an internal or external command,

      operable program or batch file.

      events.js:182

            throw er; // Unhandled 'error' event

            ^

       

      Error: listen EACCES 0.0.0.0:8888

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

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

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

          at listenInCluster (net.js:1355:12)

          at doListen (net.js:1481:7)

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

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

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

          at startup (bootstrap_node.js:158:16)

          at bootstrap_node.js:575: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.

       

      npm ERR! A complete log of this run can be found in:

      npm ERR!     C:\Users\kvinson\AppData\Roaming\npm-cache\_logs\2017-06-10T14_53_18_859Z-debug.log

      ERROR: "http-server" exited with 1.

      npm ERR! code ELIFECYCLE

      npm ERR! errno 1

      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.

      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\kvinson\AppData\Roaming\npm-cache\_logs\2017-06-10T14_53_19_138Z-debug.log

       

      I've Googled to see what I can do, but to no avail. I'm not even sure how to begin to troubleshoot something like this. I love finding tutorials on the web when they work, but when they don't... I get lost and I'm unable to recover. Any help would be appreciated. I would like to get this environment set up to expand what I can do with Tableau.

       

      Thanks,

      KJV