Skip to content

Instantly share code, notes, and snippets.

/gist:a5659a43328b03e47c21 Secret
Created Nov 10, 2012

Embed
What would you like to do?
info: Welcome to Nodejitsu nko3-nina-lab-at-unca
info: jitsu v0.10.5, node v0.8.14
info: It worked if it ends with Nodejitsu ok
info: Executing command databases create redis test
info: A new redis has been created
/usr/local/lib/node_modules/jitsu/lib/jitsu/commands/databases.js:320
server = database.metadata.label.split('-')[0] + '.redistogo.com';
^
TypeError: Cannot call method 'split' of undefined
at printDatabase (/usr/local/lib/node_modules/jitsu/lib/jitsu/commands/databases.js:320:44)
at databases.get (/usr/local/lib/node_modules/jitsu/lib/jitsu/commands/databases.js:201:7)
at Databases.get (/usr/local/lib/node_modules/jitsu/node_modules/nodejitsu-api/lib/client/databases.js:55:7)
at Request.Client.request [as _callback] (/usr/local/lib/node_modules/jitsu/node_modules/nodejitsu-api/lib/client/client.js:110:5)
at Request.init.self.callback (/usr/local/lib/node_modules/jitsu/node_modules/request/main.js:120:22)
at Request.EventEmitter.emit (events.js:99:17)
at Request.<anonymous> (/usr/local/lib/node_modules/jitsu/node_modules/request/main.js:555:16)
at Request.EventEmitter.emit (events.js:96:17)
at IncomingMessage.Request.start.self.req.self.httpModule.request.buffer (/usr/local/lib/node_modules/jitsu/node_modules/request/main.js:517:14)
at IncomingMessage.EventEmitter.emit (events.js:126:20)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.