Skip to main content

I am trying to set up the Web data connector to connect tableau with one of the API. I am getting following error while starting npm. Here are the commands that we executed and part of error message.

 

C:\....\webdataconnector-2.1.0>npm install --production

C:\....\webdataconnector-2.1.0>npm start

 

C:\....\wdc_git_new\webdataconnector-2.1.0\node_modules\hapi\lib\defaults.js:49

      uploads: Os.tmpDir(),

            ^

 

TypeError: Os.tmpDir is not a function

  at Object.<anonymous> (C:\....\wdc_git_new\webdataconnector-2.1.0\node_modules\hapi\lib\defaults.js:49:25)

  at Module._compile (node:internal/modules/cjs/loader:1108:14)

  at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)

  at Module.load (node:internal/modules/cjs/loader:973:32)

  at Function.Module._load (node:internal/modules/cjs/loader:813:14)

  at Module.require (node:internal/modules/cjs/loader:997:19)

  at require (node:internal/modules/cjs/helpers:92:18)

  at Object.<anonymous> (C:\...\wdc_git_new\webdataconnector-2.1.0\node_modules\hapi\lib\route.js:9:16)

  at Module._compile (node:internal/modules/cjs/loader:1108:14)

  at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)

 

Let me know if we need to execute any additional steps to resolve this.

 

Thanks.

2 answers
0/9000