Skip to content

Instantly share code, notes, and snippets.

@emphaticsunshine
Created May 4, 2013 16:08
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 emphaticsunshine/5517945 to your computer and use it in GitHub Desktop.
Save emphaticsunshine/5517945 to your computer and use it in GitHub Desktop.
Snapshot load error
mbp-0335:helloworld mseth$ jitsu snapshots activate
info: Welcome to Nodejitsu emphaticsunshine
info: jitsu v0.12.10-2, node v0.8.7
info: It worked if it ends with Nodejitsu ok
info: Executing command snapshots activate
info: Attempting to load snapshots for /Users/mseth/Projects/jitsu/helloworld/package.json
info: Listing snapshots for atxweather
prompt: Snapshot Name: 1
/usr/local/lib/node_modules/jitsu/lib/jitsu/commands/snapshots.js:217
var snapshot = snapshots.filter(function (snap) {
^
TypeError: Object true has no method 'filter'
at snapshots.activate (/usr/local/lib/node_modules/jitsu/lib/jitsu/commands/snapshots.js:217:32)
at prompt.get (/usr/local/lib/node_modules/jitsu/node_modules/flatiron/node_modules/prompt/lib/prompt.js:317:32)
at async.forEachSeries.iterate (/usr/local/lib/node_modules/jitsu/node_modules/flatiron/node_modules/prompt/node_modules/utile/node_modules/async/lib/async.js:116:25)
at assembler (/usr/local/lib/node_modules/jitsu/node_modules/flatiron/node_modules/prompt/lib/prompt.js:314:9)
at prompt.get (/usr/local/lib/node_modules/jitsu/node_modules/flatiron/node_modules/prompt/lib/prompt.js:323:32)
at prompt.getInput (/usr/local/lib/node_modules/jitsu/node_modules/flatiron/node_modules/prompt/lib/prompt.js:598:5)
at Interface.onLine (/usr/local/lib/node_modules/jitsu/node_modules/flatiron/node_modules/prompt/node_modules/read/lib/read.js:110:5)
at Interface.EventEmitter.emit (events.js:88:17)
at Interface._onLine (readline.jmbp-0335:helloworld mseth$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment