vost
vost copied to clipboard
Vost configuration error. Target needs to be a string.
In the README it says that I can use an array instead of a string to load balance multiple processes. However, I'm being thrown this error when I include an array of strings.
/root/vost/lib/vost.js:131
throw new Error('Vost configuration error. Target needs to be a string.');
^
Error: Vost configuration error. Target needs to be a string.
at Vost._createHostTarget (/root/vost/lib/vost.js:131:11)
at new module.exports (/root/vost/lib/vost.js:60:27)
at Object.<anonymous> (/root/vost/service.js:54:12)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.runMain (module.js:487:10)
at process.startup.processNextTick.process._tickCallback (node.js:244:9)