Skip to content

Instantly share code, notes, and snippets.

@FotoVerite
Created December 6, 2011 14:59
Show Gist options
  • Save FotoVerite/1438473 to your computer and use it in GitHub Desktop.
Save FotoVerite/1438473 to your computer and use it in GitHub Desktop.
jistu npm fail
> [email protected] test /Users/fotoverite/github/jitsu
> vows test/commands/*-test.js test/*-test.js --isolate --spec
♢ jitsu/commands/apps
✓ This test requires jitsu be unauthorized
node.js:134
throw e; // process.nextTick error, or 'error' event on first tick
^
TypeError: Bad argument
at [object Object].<anonymous> (fs.js:298:11)
at [object Object].flush (fs.js:1060:10)
at [object Object].write (fs.js:1084:8)
at Object.<anonymous> (console.js:61:18)
at Object.<anonymous> (/Users/fotoverite/github/jitsu/test/helpers/mock-helpers.js:180:15)
at run (/Users/fotoverite/github/jitsu/node_modules/vows/lib/vows/suite.js:132:31)
at EventEmitter.<anonymous> (/Users/fotoverite/github/jitsu/node_modules/vows/lib/vows/suite.js:221:40)
at EventEmitter.<anonymous> (events.js:81:20)
at EventEmitter.emit (/Users/fotoverite/github/jitsu/node_modules/vows/lib/vows.js:236:24)
at Array.<anonymous> (/Users/fotoverite/github/jitsu/node_modules/vows/lib/vows/suite.js:162:45)
♢ jitsu/commands/databases
✓ This test requires jitsu be unauthorized
node.js:134
throw e; // process.nextTick error, or 'error' event on first tick
^
TypeError: Bad argument
at [object Object].<anonymous> (fs.js:298:11)
at [object Object].flush (fs.js:1060:10)
at [object Object].write (fs.js:1084:8)
at Object.<anonymous> (console.js:61:18)
at Object.<anonymous> (/Users/fotoverite/github/jitsu/test/helpers/mock-helpers.js:180:15)
at run (/Users/fotoverite/github/jitsu/node_modules/vows/lib/vows/suite.js:132:31)
at EventEmitter.<anonymous> (/Users/fotoverite/github/jitsu/node_modules/vows/lib/vows/suite.js:221:40)
at EventEmitter.<anonymous> (events.js:81:20)
at EventEmitter.emit (/Users/fotoverite/github/jitsu/node_modules/vows/lib/vows.js:236:24)
at Array.<anonymous> (/Users/fotoverite/github/jitsu/node_modules/vows/lib/vows/suite.js:162:45)
♢ jitsu/commands/env
✓ This test requires jitsu be unauthorized
node.js:134
throw e; // process.nextTick error, or 'error' event on first tick
^
TypeError: Bad argument
at [object Object].<anonymous> (fs.js:298:11)
at [object Object].flush (fs.js:1060:10)
at [object Object].write (fs.js:1084:8)
at Object.<anonymous> (console.js:61:18)
at Object.<anonymous> (/Users/fotoverite/github/jitsu/test/helpers/mock-helpers.js:180:15)
at run (/Users/fotoverite/github/jitsu/node_modules/vows/lib/vows/suite.js:132:31)
at EventEmitter.<anonymous> (/Users/fotoverite/github/jitsu/node_modules/vows/lib/vows/suite.js:221:40)
at EventEmitter.<anonymous> (events.js:81:20)
at EventEmitter.emit (/Users/fotoverite/github/jitsu/node_modules/vows/lib/vows.js:236:24)
at Array.<anonymous> (/Users/fotoverite/github/jitsu/node_modules/vows/lib/vows/suite.js:162:45)
♢ jitsu/commans/snapshots
✓ This test requires jitsu be unauthorized
node.js:134
throw e; // process.nextTick error, or 'error' event on first tick
^
TypeError: Bad argument
at [object Object].<anonymous> (fs.js:298:11)
at [object Object].flush (fs.js:1060:10)
at [object Object].write (fs.js:1084:8)
at Object.<anonymous> (console.js:61:18)
at Object.<anonymous> (/Users/fotoverite/github/jitsu/test/helpers/mock-helpers.js:180:15)
at run (/Users/fotoverite/github/jitsu/node_modules/vows/lib/vows/suite.js:132:31)
at EventEmitter.<anonymous> (/Users/fotoverite/github/jitsu/node_modules/vows/lib/vows/suite.js:221:40)
at EventEmitter.<anonymous> (events.js:81:20)
at EventEmitter.emit (/Users/fotoverite/github/jitsu/node_modules/vows/lib/vows.js:236:24)
at Array.<anonymous> (/Users/fotoverite/github/jitsu/node_modules/vows/lib/vows/suite.js:162:45)
♢ jitsu/commands/users
node.js:134
throw e; // process.nextTick error, or 'error' event on first tick
^
TypeError: Bad argument
at [object Object].<anonymous> (fs.js:298:11)
at [object Object].flush (fs.js:1060:10)
at [object Object].write (fs.js:1084:8)
at Object.<anonymous> (console.js:61:18)
at Object.<anonymous> (/Users/fotoverite/github/jitsu/test/helpers/mock-helpers.js:180:15)
at run (/Users/fotoverite/github/jitsu/node_modules/vows/lib/vows/suite.js:132:31)
at EventEmitter.<anonymous> (/Users/fotoverite/github/jitsu/node_modules/vows/lib/vows/suite.js:221:40)
at EventEmitter.<anonymous> (events.js:81:20)
at EventEmitter.emit (/Users/fotoverite/github/jitsu/node_modules/vows/lib/vows.js:236:24)
at Array.<anonymous> (/Users/fotoverite/github/jitsu/node_modules/vows/lib/vows/suite.js:162:45)
♢ jitsu/lib/client
When using jitsu.config.load
✓ it should not respond with an error
When using an instance of jitsu.api.Client the request() method when successful
✓ should not respond with an error
✓ should respond with 200
When using an instance of jitsu.api.Client the request() method when unsuccessful (400)
✓ should respond with an error
♢ jitsu/lib/jitsu/config
When using jitsu.config module the load() method
✓ should return store object
When using jitsu.config module the load() method the get() method
✓ should have remoteUri
✓ should default to optimist.argv
✗ Errored » 7 honored ∙ 5 errored (0.007s)
npm ERR! [email protected] test: `vows test/commands/*-test.js test/*-test.js --isolate --spec`
npm ERR! `sh "-c" "vows test/commands/*-test.js test/*-test.js --isolate --spec"` failed with 2
npm ERR!
npm ERR! Failed at the [email protected] test script.
npm ERR! This is most likely a problem with the jitsu package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! vows test/commands/*-test.js test/*-test.js --isolate --spec
npm ERR! You can get their info via:
npm ERR! npm owner ls jitsu
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Darwin 10.8.0
npm ERR! command "node" "/usr/local/bin/npm" "test"
npm ERR! cwd /Users/fotoverite/github/jitsu
npm ERR! node -v v0.4.12
npm ERR! npm -v 1.0.106
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/fotoverite/github/jitsu/npm-debug.log
npm not ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment