Skip to content

Instantly share code, notes, and snippets.

@trygve-lie
Created March 7, 2014 14:40
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 trygve-lie/4c60a733e633e7360418 to your computer and use it in GitHub Desktop.
Save trygve-lie/4c60a733e633e7360418 to your computer and use it in GitHub Desktop.
nodejitsu indexOf error
prompt: Is this ok?: (yes) yes
info: Creating snapshot 0.0.1-54
info: Uploading: [=============================] 100%
error: Error running command deploy
/usr/local/lib/node_modules/jitsu/lib/jitsu.js:369
if (~err.result.error.indexOf('matching versions')) {
^
TypeError: Object #<Object> has no method 'indexOf'
at jitsu.showError (/usr/local/lib/node_modules/jitsu/lib/jitsu.js:369:31)
at /usr/local/lib/node_modules/jitsu/lib/jitsu.js:236:15
at /usr/local/lib/node_modules/jitsu/lib/jitsu/commands/apps.js:201:18
at /usr/local/lib/node_modules/jitsu/lib/jitsu/package.js:434:20
at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/jitsu/node_modules/nodejitsu-api/lib/client/client.js:303:11)
at IncomingMessage.EventEmitter.emit (events.js:117:20)
at _stream_readable.js:920:16
at process._tickCallback (node.js:415:13)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment