You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running snapshots active against the current directory for which I was not authorized, will not show a 401. It will prompt for the snapshot name without displaying a list. Actually entering a snapshot name will cause jitsu to crash because snapshots = undefined
info: Welcome to Nodejitsu swaagie
info: jitsu v0.12.8, node v0.8.22
info: It worked if it ends with Nodejitsu ok
info: Executing command snapshots activate
info: Attempting to load snapshots for
info: Listing snapshots for handbook
prompt: Snapshot Name: 4.3.5
/var/www/nodejitsu/jitsu/lib/jitsu/commands/snapshots.js:217
var snapshot = snapshots.filter(function (snap) {
^
TypeError: Object true has no method 'filter'
at snapshots.activate (/var/www/nodejitsu/jitsu/lib/jitsu/commands/snapshots.js:217:32)
at prompt.get (/var/www/nodejitsu/jitsu/node_modules/flatiron/node_modules/prompt/lib/prompt.js:317:32)
at async.forEachSeries.iterate (/var/www/nodejitsu/jitsu/node_modules/flatiron/node_modules/prompt/node_modules/utile/node_modules/async/lib/async.js:116:25)
at assembler (/var/www/nodejitsu/jitsu/node_modules/flatiron/node_modules/prompt/lib/prompt.js:314:9)
at prompt.get (/var/www/nodejitsu/jitsu/node_modules/flatiron/node_modules/prompt/lib/prompt.js:323:32)
at prompt.getInput (/var/www/nodejitsu/jitsu/node_modules/flatiron/node_modules/prompt/lib/prompt.js:598:5)
at Interface.onLine (/var/www/nodejitsu/jitsu/node_modules/flatiron/node_modules/prompt/node_modules/read/lib/read.js:110:5)
at Interface.EventEmitter.emit (events.js:96:17)
at Interface._onLine (readline.js:200:10)
at Interface._line (readline.js:518:8)
The text was updated successfully, but these errors were encountered:
@blakmatrix I (accidently) ran the command while my pwd was handbook, e.g. I was trying to list the snapshots of a nodejitsu app without being actually authenticated to do so. I'm normally logged under my own account and use -j to switch to nodejitsus'
Normal users with multiple accounts might think something is wrong with jitsu while in reality they are just not authenticated for their current app.
Running snapshots active against the current directory for which I was not authorized, will not show a 401. It will prompt for the snapshot name without displaying a list. Actually entering a snapshot name will cause jitsu to crash because
snapshots = undefined
The text was updated successfully, but these errors were encountered: