Not able to install trudesk on windows

tries these 2 different steps
Try1:
C:> git clone https://www.github.com/polonel/trudesk
C:> cd trudesk
C:\trudesk> npm install -g yarn
C:\trudesk> yarn
C:\trudesk> yarn run build
C:\trudesk> node runner

Try2:
CD to dir to setup TruDesk
git clone https://www.github.com/polonel/trudesk
cd trudesk -> npm install ->yarn ->yarn run build
then ,
npm install pm2 -g
npm install -g node-gyp
npm install --g --production windows-build-tools
npm install bcrypt
npm install node-sass
npm audit fix

node runner

getting below error when executed node runner and then not connecting elastic search (version 6.8) :face_with_thermometer::face_with_thermometer: and but connecting to mongodb :slightly_smiling_face: successfully then shows message that it restarts and then shows unable to connect message

RangeError: Maximum call stack size exceeded
    at validatePath (internal/fs/utils.js:448:11)
    at Object.mkdirSync (fs.js:749:3)
    at sync (C:\pogo\trudesk\node_modules\mkdirp\index.js:71:13)
    at sync (C:\pogo\trudesk\node_modules\mkdirp\index.js:77:24)
    at sync (C:\pogo\trudesk\node_modules\mkdirp\index.js:77:24)
    at sync (C:\pogo\trudesk\node_modules\mkdirp\index.js:77:24)
    at sync (C:\pogo\trudesk\node_modules\mkdirp\index.js:77:24)
    at sync (C:\pogo\trudesk\node_modules\mkdirp\index.js:77:24)
    at sync (C:\pogo\trudesk\node_modules\mkdirp\index.js:77:24)
    at sync (C:\pogo\trudesk\node_modules\mkdirp\index.js:77:24)
RangeError: Maximum call stack size exceeded
    at Object.resolve (path.js:133:28)
    at Object.toNamespacedPath (path.js:618:32)
    at Object.mkdirSync (fs.js:754:28)
    at sync (C:\pogo\trudesk\node_modules\mkdirp\index.js:71:13)
    at sync (C:\pogo\trudesk\node_modules\mkdirp\index.js:77:24)
    at sync (C:\pogo\trudesk\node_modules\mkdirp\index.js:77:24)
    at sync (C:\pogo\trudesk\node_modules\mkdirp\index.js:77:24)
    at sync (C:\pogo\trudesk\node_modules\mkdirp\index.js:77:24)
    at sync (C:\pogo\trudesk\node_modules\mkdirp\index.js:77:24)
    at sync (C:\pogo\trudesk\node_modules\mkdirp\index.js:77:24)
Error: ENOENT: no such file or directory, open 'U:\.pm2\module_conf.json'
    at Object.openSync (fs.js:443:3)
    at Object.writeFileSync (fs.js:1194:35)
    at module.exports.Client.initFileStructure (C:\pogo\trudesk\node_modules\pm2\lib\Client.js:148:10)
    at new module.exports (C:\pogo\trudesk\node_modules\pm2\lib\Client.js:37:8)
    at new API (C:\pogo\trudesk\node_modules\pm2\lib\API.js:107:19)
    at Object.<anonymous> (C:\pogo\trudesk\node_modules\pm2\index.js:11:18)
    at Module._compile (internal/modules/cjs/loader.js:776:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
RangeError: Maximum call stack size exceeded
    at Object.resolve (path.js:133:28)
    at Object.toNamespacedPath (path.js:618:32)
    at Object.mkdirSync (fs.js:754:28)
    at sync (C:\pogo\trudesk\node_modules\mkdirp\index.js:71:13)
    at sync (C:\pogo\trudesk\node_modules\mkdirp\index.js:77:24)
    at sync (C:\pogo\trudesk\node_modules\mkdirp\index.js:77:24)
    at sync (C:\pogo\trudesk\node_modules\mkdirp\index.js:77:24)
    at sync (C:\pogo\trudesk\node_modules\mkdirp\index.js:77:24)
    at sync (C:\pogo\trudesk\node_modules\mkdirp\index.js:77:24)
    at sync (C:\pogo\trudesk\node_modules\mkdirp\index.js:77:24)
Error: ENOENT: no such file or directory, open 'U:\.pm2\module_conf.json'
    at Object.openSync (fs.js:443:3)
    at Object.readFileSync (fs.js:343:35)
    at Object.Configuration.getAllSync (C:\pogo\trudesk\node_modules\pm2\lib\Configuration.js:295:26)
    at Object.Configuration.getSync (C:\pogo\trudesk\node_modules\pm2\lib\Configuration.js:266:30)
    at new API (C:\pogo\trudesk\node_modules\pm2\lib\API.js:116:36)
    at Object.<anonymous> (C:\pogo\trudesk\node_modules\pm2\index.js:11:18)
    at Module._compile (internal/modules/cjs/loader.js:776:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
2019-09-12T14:32:28: PM2 log: Launching in no daemon mode
2019-09-12T14:32:28: PM2 error: Error: ENOENT: no such file or directory, open 'U:\.pm2\pm2.pid'
    at Object.openSync (fs.js:443:3)
    at Object.writeFileSync (fs.js:1194:35)
    at module.exports.Daemon.innerStart (C:\pogo\trudesk\node_modules\pm2\lib\Daemon.js:89:8)
    at C:\pogo\trudesk\node_modules\pm2\lib\Client.js:77:14
    at C:\pogo\trudesk\node_modules\pm2\lib\Client.js:311:14
    at process._tickCallback (internal/process/next_tick.js:61:11)
2019-09-12T14:32:28: PM2 error: Error: ENOENT: no such file or directory, open 'U:\.pm2\module_conf.json'
    at Object.openSync (fs.js:443:3)
    at Object.readFileSync (fs.js:343:35)
    at Object.Configuration.getAllSync (C:\pogo\trudesk\node_modules\pm2\lib\Configuration.js:295:26)
    at Object.Configuration.getSync (C:\pogo\trudesk\node_modules\pm2\lib\Configuration.js:266:30)
    at Object.Modularizer.listModules (C:\pogo\trudesk\node_modules\pm2\lib\API\Modules\Modularizer.js:128:32)
    at Object.Modularizer.launchModules (C:\pogo\trudesk\node_modules\pm2\lib\API\Modules\Modularizer.js:56:29)
    at API.CLI.launchAll (C:\pogo\trudesk\node_modules\pm2\lib\API\Modules\index.js:51:17)
    at C:\pogo\trudesk\node_modules\pm2\lib\API.js:185:12
    at C:\pogo\trudesk\node_modules\pm2\lib\Client.js:88:18
    at Timeout._onTimeout (C:\pogo\trudesk\node_modules\pm2\lib\Client.js:362:9)
2019-09-12T14:32:28: PM2 error: Error: ENOENT: no such file or directory, open 'U:\.pm2\module_conf.json'
    at Object.openSync (fs.js:443:3)
    at Object.readFileSync (fs.js:343:35)
    at Object.Configuration.getAllSync (C:\pogo\trudesk\node_modules\pm2\lib\Configuration.js:295:26)
    at Object.getModuleConf (C:\pogo\trudesk\node_modules\pm2\lib\API\Modules\NPM.js:306:35)
    at Object.Modularizer.getAdditionalConf (C:\pogo\trudesk\node_modules\pm2\lib\API\Modules\Modularizer.js:133:14)
    at C:\pogo\trudesk\node_modules\pm2\lib\API.js:1078:42
    at C:\pogo\trudesk\node_modules\async\internal\withoutIndex.js:9:16
    at replenish (C:\pogo\trudesk\node_modules\async\internal\eachOfLimit.js:66:17)
    at C:\pogo\trudesk\node_modules\async\internal\eachOfLimit.js:71:9
    at eachLimit (C:\pogo\trudesk\node_modules\async\eachLimit.js:43:36)
2019-09-12T14:32:28: PM2 log: App [trudesk:0] starting in -fork mode-
2019-09-12T14:32:29: PM2 error: Error: ENOENT: no such file or directory, open 'U:\.pm2\pids\trudesk-0.pid'
    at Object.openSync (fs.js:443:3)
    at Object.writeFileSync (fs.js:1194:35)
    at C:\pogo\trudesk\node_modules\pm2\lib\God\ForkMode.js:258:12
    at C:\pogo\trudesk\node_modules\async\internal\once.js:12:16
    at next (C:\pogo\trudesk\node_modules\async\waterfall.js:21:29)
    at C:\pogo\trudesk\node_modules\async\internal\onlyOnce.js:12:16
    at WriteStream.<anonymous> (C:\pogo\trudesk\node_modules\pm2\lib\Utility.js:186:13)
    at WriteStream.emit (events.js:198:13)
    at WriteStream.EventEmitter.emit (domain.js:448:20)
    at lazyFs.open (internal/fs/streams.js:282:10)

When clicked on test connection for ES(version 6.4) running at http://localhost:9200/ got the below log :face_with_thermometer:
> Elasticsearch ERROR: 2019-09-12T10:19:14Z

      Error: Request error, retrying
      HEAD http://undefined/:undefined/ => getaddrinfo ENOTFOUND undefined undefined:80
          at Log.error (C:\pogo\trudesk\node_modules\elasticsearch\src\lib\log.js:226:56)
          at checkRespForFailure (C:\pogo\trudesk\node_modules\elasticsearch\src\lib\transport.js:259:18)
          at HttpConnector.<anonymous> (C:\pogo\trudesk\node_modules\elasticsearch\src\lib\connectors\http.js:163:7)
          at ClientRequest.wrapper (C:\pogo\trudesk\node_modules\lodash\lodash.js:4935:19)
          at ClientRequest.emit (events.js:198:13)
          at Socket.socketErrorListener (_http_client.js:392:9)
          at Socket.emit (events.js:198:13)
          at emitErrorNT (internal/streams/destroy.js:91:8)
          at emitErrorAndCloseNT (internal/streams/destroy.js:59:3)
          at process._tickCallback (internal/process/next_tick.js:63:19)

    Elasticsearch WARNING: 2019-09-12T10:19:17Z
      Unable to revive connection: **http://undefined/:undefined**

    Elasticsearch WARNING: 2019-09-12T10:19:17Z
      No living connections

I had selected ‘New Database’ in installation steps and it worked like charm :grinning: