Skip to content

Instantly share code, notes, and snippets.

@jcrugzz
Created August 2, 2012 18:04
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 jcrugzz/3239204 to your computer and use it in GitHub Desktop.
Save jcrugzz/3239204 to your computer and use it in GitHub Desktop.
When running the "jitsu login" command with a string X following the login where X is anything, it produced the following error.
/usr/local/lib/node_modules/jitsu/node_modules/flatiron-cli-users/lib/commands.js:242
return err ? callback(err) : callback();
^
TypeError: string is not a function
at exports.login.cliUsers.before.setup.username (/usr/local/lib/node_modules/jitsu/node_modules/flatiron-cli-users/lib/commands.js:242:38)
at Provider.save (/usr/local/lib/node_modules/jitsu/node_modules/flatiron/node_modules/broadway/node_modules/nconf/lib/nconf/provider.js:492:34)
at async.reduce (/usr/local/lib/node_modules/jitsu/node_modules/flatiron/node_modules/broadway/node_modules/nconf/node_modules/async/lib/async.js:206:13)
at async.forEachSeries.iterate (/usr/local/lib/node_modules/jitsu/node_modules/flatiron/node_modules/broadway/node_modules/nconf/node_modules/async/lib/async.js:116:25)
at async.reduce (/usr/local/lib/node_modules/jitsu/node_modules/flatiron/node_modules/broadway/node_modules/nconf/node_modules/async/lib/async.js:203:17)
at saveStore (/usr/local/lib/node_modules/jitsu/node_modules/flatiron/node_modules/broadway/node_modules/nconf/lib/nconf/provider.js:479:5)
at async.reduce (/usr/local/lib/node_modules/jitsu/n%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment