Skip to content

Instantly share code, notes, and snippets.

@ELLIOTTCABLE
Last active August 29, 2015 14:01
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 ELLIOTTCABLE/4b277fc6a82354a11306 to your computer and use it in GitHub Desktop.
Save ELLIOTTCABLE/4b277fc6a82354a11306 to your computer and use it in GitHub Desktop.
> npm uninstall jitsu
npm WARN uninstall not installed in /Users/ELLIOTTCABLE/node_modules: "jitsu"
^C% > npm uninstall -g jitsu
unbuild jitsu@0.13.16
> npmc
> rm -r ~/.jitsuconf ~/.jitsu/tmp
> npm install -g jitsu
> ws@0.4.31 install /Users/ELLIOTTCABLE/.nvm/v0.10.26/lib/node_modules/jitsu/node_modules/nodejitsu-api/node_modules/preacher-api/node_modules/ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
SOLINK_MODULE(target) Release/bufferutil.node
SOLINK_MODULE(target) Release/bufferutil.node: Finished
CXX(target) Release/obj.target/validation/src/validation.o
SOLINK_MODULE(target) Release/validation.node
SOLINK_MODULE(target) Release/validation.node: Finished
/Users/ELLIOTTCABLE/.nvm/v0.10.26/bin/jitsu -> /Users/ELLIOTTCABLE/.nvm/v0.10.26/lib/node_modules/jitsu/bin/jitsu
jitsu@0.13.16 /Users/ELLIOTTCABLE/.nvm/v0.10.26/lib/node_modules/jitsu
├── opener@1.3.0
├── dateformat@1.0.2-1.2.3
├── progress@0.1.0
├── ladder@0.0.1
├── complete@0.3.1
├── spawn-command@0.0.2
├── flatiron-cli-config@0.1.4
├── semver@1.0.14
├── colors@0.6.2
├── flatiron-cli-users@0.1.8
├── pkginfo@0.3.0
├── canihaz@1.0.1 (which@1.0.5, semver@1.1.4, mkdirp@0.3.5)
├── fstream@0.1.25 (inherits@2.0.1, graceful-fs@2.0.3, rimraf@2.2.8, mkdirp@0.3.5)
├── tar@0.1.18 (inherits@2.0.1, block-stream@0.0.7)
├── fstream-npm@0.1.6 (inherits@2.0.1, fstream-ignore@0.0.8)
├── request@2.28.0 (json-stringify-safe@5.0.0, forever-agent@0.5.2, aws-sign2@0.5.0, qs@0.6.6, tunnel-agent@0.3.0, oauth-sign@0.3.0, node-uuid@1.4.1, mime@1.2.11, tough-cookie@0.9.15, form-data@0.1.2, hawk@1.0.0, http-signature@0.10.0)
├── require-analyzer@0.5.0 (eyes@0.1.8, resolve@0.2.8, optimist@0.3.7, winston@0.6.2, read-installed@0.0.4, detective@0.0.4)
├── wizard@0.0.1 (prompt@0.2.12)
├── flatiron@0.3.8 (optimist@0.3.5, director@1.1.10, broadway@0.2.7, prompt@0.2.11)
└── nodejitsu-api@0.6.3 (request@2.25.0, preacher-api@0.1.7)
> jitsu login
info: Welcome to Nodejitsu
info: jitsu v0.13.16, node v0.10.26
info: It worked if it ends with Nodejitsu ok
info: Executing command login
help: An activated nodejitsu account is required to login
help: To create a new account use the jitsu signup command
prompt: username: ELLIOTTCABLE
prompt: password:
info: Authenticated as ELLIOTTCABLE
info: Nodejitsu ok
> jitsu databases create redis wikipedi.as --debug
info: Welcome to Nodejitsu ELLIOTTCABLE
info: jitsu v0.13.16, node v0.10.26
info: It worked if it ends with Nodejitsu ok
info: Executing command databases create redis wikipedi.as
debug: { method: 'POST',
debug: uri: 'https://api.nodejitsu.com/databases/ELLIOTTCABLE/wikipedi.as',
debug: headers:
debug: { Authorization: '*************************************************************************',
debug: 'Content-Type': 'application/json',
debug: 'user-agent': 'jitsu/0.13.16' },
debug: timeout: 240000,
debug: rejectUnauthorized: false,
debug: body: '{"type":"redis"}' }
debug: { statusCode: 404,
debug: result: { error: 'incorrect partner name or password.' } }
error: Database with name wikipedi.as already exists
info: Try again with a new database name
error: Database name is required
prompt: database name: (redis)
/Users/ELLIOTTCABLE/.nvm/v0.10.26/lib/node_modules/jitsu/lib/jitsu/commands/databases.js:130
database.name = res['database name'] || database.name;
^
TypeError: Cannot read property 'database name' of undefined
at /Users/ELLIOTTCABLE/.nvm/v0.10.26/lib/node_modules/jitsu/lib/jitsu/commands/databases.js:130:30
at /Users/ELLIOTTCABLE/.nvm/v0.10.26/lib/node_modules/jitsu/node_modules/flatiron/node_modules/prompt/lib/prompt.js:316:20
at /Users/ELLIOTTCABLE/.nvm/v0.10.26/lib/node_modules/jitsu/node_modules/flatiron/node_modules/prompt/node_modules/utile/node_modules/async/lib/async.js:136:21
at assembler (/Users/ELLIOTTCABLE/.nvm/v0.10.26/lib/node_modules/jitsu/node_modules/flatiron/node_modules/prompt/lib/prompt.js:282:18)
at /Users/ELLIOTTCABLE/.nvm/v0.10.26/lib/node_modules/jitsu/node_modules/flatiron/node_modules/prompt/lib/prompt.js:322:20
at /Users/ELLIOTTCABLE/.nvm/v0.10.26/lib/node_modules/jitsu/node_modules/flatiron/node_modules/prompt/lib/prompt.js:510:14
at onError (/Users/ELLIOTTCABLE/.nvm/v0.10.26/lib/node_modules/jitsu/node_modules/flatiron/node_modules/prompt/node_modules/read/lib/read.js:94:12)
at Interface% >
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment