jitsu login <username> throws and behaves counterintuitive #339

Closed
blakmatrix opened this Issue Oct 18, 2012 · 1 comment

Comments

Projects
None yet
1 participant
Contributor

blakmatrix commented Oct 18, 2012

blakmatrix@redmorpheus: ~
$ jitsu login blakmatrix                                                                                                              [16:11:09]
info:    Welcome to Nodejitsu 
info:    jitsu v0.9.8
info:    It worked if it ends with Nodejitsu ok
info:    Executing command login blakmatrix
prompt: username:  blakmatrix
prompt: password:  
info:    Authenticated as blakmatrix

/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%                                                                                        FAIL: 1
Contributor

blakmatrix commented Oct 19, 2012

👍 will need to bump flatiron-cli-version to complete once pull is closed

blakmatrix closed this in 358ad9f Feb 3, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment