Skip to content

Instantly share code, notes, and snippets.

@benclarkk
Created October 14, 2019 19:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benclarkk/66a8ba464a974451b4a817dd5dd082a6 to your computer and use it in GitHub Desktop.
Save benclarkk/66a8ba464a974451b4a817dd5dd082a6 to your computer and use it in GitHub Desktop.
$ node dist
/root/api/dist/config/redis.config.js:7
const parseSentinels = (sentinels) => sentinels.split(',').map(uri => ({
^
TypeError: Cannot read property 'split' of undefined
at parseSentinels (/root/api/dist/config/redis.config.js:7:49)
at getOptions (/root/api/dist/config/redis.config.js:18:25)
at Object.<anonymous> (/root/api/dist/config/redis.config.js:21:41)
at Module._compile (internal/modules/cjs/loader.js:945:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:962:10)
at Module.load (internal/modules/cjs/loader.js:798:32)
at Function.Module._load (internal/modules/cjs/loader.js:711:12)
at Module.require (internal/modules/cjs/loader.js:838:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (/root/api/dist/models/user/index.js:12:40)
at Module._compile (internal/modules/cjs/loader.js:945:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:962:10)
at Module.load (internal/modules/cjs/loader.js:798:32)
at Function.Module._load (internal/modules/cjs/loader.js:711:12)
at Module.require (internal/modules/cjs/loader.js:838:19)
at require (internal/modules/cjs/helpers.js:74:18)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment