Skip to content

Instantly share code, notes, and snippets.

~/work/boilerplate2 (master *) $ jitsu deploy
info: Welcome to Nodejitsu hunterloftis
info: jitsu v0.10.3-1, node v0.8.11
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Analyzing application dependencies in node app.js
warn: Local package version appears to be old
warn: The package.json version will be incremented automatically
warn: About to write /Users/hunter/work/boilerplate2/package.json
warn: Using '*' as a version for dependencies may eventually cause issues
~/work/boilerplate2 (master) $ jitsu deploy
info: Welcome to Nodejitsu hunterloftis
info: jitsu v0.10.2, node v0.8.11
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Analyzing application dependencies in node app.js
info: Creating snapshot 0.0.4
info Uploading: [= ] 7%
info: Updating app components
info: Activating snapshot 0.0.4 for components
~/work/boilerplate2 (master *%) $ jitsu databases create redis mq
info: Welcome to Nodejitsu hunterloftis
info: jitsu v0.10.2, node v0.8.11
info: It worked if it ends with Nodejitsu ok
info: Executing command databases create redis mq
error: Database could not be created
error: Unknown error code: 502
error: Try again and if it still fails, please contact nodejitsu
info: Nodejitsu ok
~/work/boilerplate2 (master *%) $ jitsu databases create redis sessions
~/work/boilerplate2 (master *%) $ jitsu deploy
info: Welcome to Nodejitsu hunterloftis
info: jitsu v0.10.2, node v0.8.11
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Analyzing application dependencies in node server.js
warn: Local package version appears to be old
warn: The package.json version will be incremented automatically
warn: About to write /Users/hunter/work/boilerplate2/package.json
warn: Using '*' as a version for dependencies may eventually cause issues
~/work/boilerplate2 (master *) $ jitsu deploy
info: Welcome to Nodejitsu hunterloftis
info: jitsu v0.10.2, node v0.8.11
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Analyzing application dependencies in node server.js
warn: Local package version appears to be old
warn: The package.json version will be incremented automatically
warn: About to write /Users/hunter/work/boilerplate2/package.json
warn: Using '*' as a version for dependencies may eventually cause issues
{
"name": "node-components-test",
"version": "0.0.1-5",
"author": "Hunter Loftis <[email protected]>",
"subdomain": "components",
"engines": {
"node": "0.8.x"
},
"dependencies": {
"express": "3.0.0rc2",
{
"name": "node-components-test",
"version": "0.0.1-4",
"author": "Hunter Loftis <[email protected]>",
"subdomain": "components",
"engines": {
"node": "0.8.x"
},
"dependencies": {
"express": "3.0.0rc2",
info: Creating snapshot 0.0.1-1
info Uploading: [== ] 9%
info: Updating app node-components-test
info: Activating snapshot 0.0.1-1 for node-components-test
info: Starting app node-components-test
error: Error running command deploy
error: socket hang up
info:
jitsu's client request timed out before the server could respond
info: This error may be due to network connection problems
~/work/boilerplate2 (master) $ npm cache clean
~/work/boilerplate2 (master) $ rm -rf node_modules
~/work/boilerplate2 (master) $ npm install
npm ERR! cb() never called!
npm ERR! not ok code 0
~/work/boilerplate2 (master) $ npm -v
1.1.65
~/work/boilerplate2 (master) $ node -v
v0.8.13
var request = require('superagent');
var base = 'http://eadoyle.tumblr.com/page/';
for (var i = 0; i <= 97; i++) {
tryPage(base + i);
}
function tryPage(url) {
request.get(url, function(res) {