Skip to content

Instantly share code, notes, and snippets.

@calvinbushor
calvinbushor / gist:4150316
Created November 26, 2012 20:10
bcrypt deploy fail
/**
* Module dependencies.
*/
var express = require('express')
, routes = require('./routes')
, http = require('http')
, path = require('path');
@calvinbushor
calvinbushor / gist:4150022
Created November 26, 2012 19:16
jitsu update command fail
npm http GET https://registry.npmjs.org/jitsu/0.11.3
npm http 200 https://registry.npmjs.org/jitsu/0.11.3
npm http GET https://registry.npmjs.org/jitsu/-/jitsu-0.11.3.tgz
npm http 200 https://registry.npmjs.org/jitsu/-/jitsu-0.11.3.tgz
npm ERR! error rolling back Error: EPERM, chmod '/usr/local/bin/jitsu'
npm ERR! error rolling back jitsu@0.11.3 { [Error: EPERM, chmod '/usr/local/bin/jitsu'] errno: 50, code: 'EPERM', path: '/usr/local/bin/jitsu' }
npm ERR! Error: EPERM, chmod '/usr/local/bin/jitsu'
npm ERR! { [Error: EPERM, chmod '/usr/local/bin/jitsu'] errno: 50, code: 'EPERM', path: '/usr/local/bin/jitsu' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
@calvinbushor
calvinbushor / gist:4150003
Created November 26, 2012 19:14
jitsu bad command
npm http GET https://registry.npmjs.org/jitsu
npm http 200 https://registry.npmjs.org/jitsu
npm http GET https://registry.npmjs.org/jitsu/-/jitsu-0.11.3.tgz
npm http 200 https://registry.npmjs.org/jitsu/-/jitsu-0.11.3.tgz
npm ERR! error rolling back Error: EPERM, chmod '/usr/local/bin/jitsu'
npm ERR! error rolling back jitsu@0.11.3 { [Error: EPERM, chmod '/usr/local/bin/jitsu'] errno: 50, code: 'EPERM', path: '/usr/local/bin/jitsu' }
npm ERR! Error: EPERM, chmod '/usr/local/bin/jitsu'
npm ERR! { [Error: EPERM, chmod '/usr/local/bin/jitsu'] errno: 50, code: 'EPERM', path: '/usr/local/bin/jitsu' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
@calvinbushor
calvinbushor / gist:4149970
Created November 26, 2012 19:06
jitsu database create Fail
Calvin Bushor’s MacBook Air:team-mate-api calvinbushor$ jitsu databases create
info: Welcome to Nodejitsu calvinbushor
info: jitsu v0.9.8
info: It worked if it ends with Nodejitsu ok
info: Executing command databases create
error: Database name is required
warn: Valid database types are: couch, redis, or mongo
prompt: database name: api
prompt: database type: mongo
info: A new mongo has been created
@calvinbushor
calvinbushor / gist:4149862
Created November 26, 2012 18:46
jitsu deploy bcrypt fail
info: Welcome to Nodejitsu calvinbushor
info: jitsu v0.9.8
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Analyzing application dependencies in app.js
warn: Local package version appears to be old
warn: The package.json version will be incremented automatically
warn: About to write /Users/calvinbushor/Sites/team-mate/team-mate-api/package.json
warn: Using '*' as a version for dependencies may eventually cause issues
warn: Use specific versions for dependencies to avoid future problems
@calvinbushor
calvinbushor / dabblet.css
Created December 16, 2011 14:34
Top bar for calvinandkatie.com
background: #f06;
background: linear-gradient(-90deg, pink 4%, deeppink 9%, transparent 10%);
min-height:100%;