Hello, I'm encountering the following error when trying to start the hlc-server.
I've tried a few different distros--xubuntu, ubuntu and mint all with the exact same error.
Any guidance would be greatly appreciated!
reelyactive@reelyactive:~/reelyActive/hlc-server$ npm start
[email protected] start /home/reelyactive/reelyActive/hlc-server
node bin/hlc-server
reelyActive barnowl instance is listening for an open IoT
/home/reelyactive/reelyActive/hlc-server/node_modules/@elastic/elasticsearch/api/api/ping.js:47
return this.transport.request(request, options, callback)
^
TypeError: Cannot read property 'transport' of undefined
at pingApi (/home/reelyactive/reelyActive/hlc-server/node_modules/@elastic/elasticsearch/api/api/ping.js:47:15)
at retryUntilSuccess (/home/reelyactive/reelyActive/hlc-server/lib/elasticmanager.js:122:3)
at ElasticManager.notifyOnElasticsearchRunning (/home/reelyactive/reelyActive/hlc-server/lib/elasticmanager.js:43:5)
at new HLCServer (/home/reelyactive/reelyActive/hlc-server/lib/hlcserver.js:99:18)
at Object. (/home/reelyactive/reelyActive/hlc-server/bin/hlc-server:10:11)
at Module._compile (internal/modules/cjs/loader.js:1137:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
at Module.load (internal/modules/cjs/loader.js:985:32)
at Function.Module._load (internal/modules/cjs/loader.js:878:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: node bin/hlc-server
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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! /home/reelyactive/.npm/_logs/2020-09-29T14_34_51_069Z-debug.log