Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.