Skip to content

Instantly share code, notes, and snippets.

@alexdelany
Last active December 11, 2015 23:18
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 alexdelany/3cd4ddf4472f8a916240 to your computer and use it in GitHub Desktop.
Save alexdelany/3cd4ddf4472f8a916240 to your computer and use it in GitHub Desktop.
added correct version #s
{
"name": "Virilla_2.0",
"description": "Description",
"private": false,
"author": "Alex Delany <delany@gmail.com>",
"engines": {
"node": "0.8.x"
},
"scripts": {
"start": "node server.js"
},
"dependencies": {
"express": "3.1.0",
"jade": "0.28.1",
"mongoose": "3.5.5",
"connect-mongo": "0.3.2",
"connect-flash": "0.1.0",
"passport": "0.1.15",
"passport-local": "0.1.6",
"passport-facebook": "0.1.4",
"imager": "0.1.4",
"underscore": "1.4.4",
"gzippo": "0.2.0",
"async": "0.1.22"
},
"devDependencies": {
"nodemon": "latest"
},
"subdomain": "alexd.virilla_2.0",
"version": "2.0.0-3"
}
---------
Alex-MacBook-Pro:virilla_2.0 alex$ jitsu deploy --debug
info: Welcome to Nodejitsu alexd
info: jitsu v0.11.4, node v0.8.16
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Analyzing application dependencies in node server.js
debug: { method: 'GET',
debug: uri: 'https://api.nodejitsu.com/apps/alexd/Virilla_2.0',
debug: headers:
debug: { Authorization: '*********************',
debug: 'Content-Type': 'application/json' },
debug: timeout: 240000 }
debug: { statusCode: 200,
debug: result:
debug: { app:
debug: { _id: 'alexd/Virilla_2.0',
debug: name: 'Virilla_2.0',
debug: scripts: { start: 'node server.js' },
debug: user: 'alexd',
debug: subdomain: 'alexd.virilla_2.0',
debug: snapshots:
debug: [ { id: '2.0.0-1',
debug: md5: '6f8036a1c07b26d3c5fd7078ed5035e2',
debug: filename: 'alexd-Virilla_2.0-2.0.0-1.tgz',
debug: ctime: 1359570045241 },
debug: { id: '2.0.0-2',
debug: md5: '0b3fb8b2af429c9f5bb1dcd222a20cb1',
debug: filename: 'alexd-Virilla_2.0-2.0.0-2.tgz',
debug: ctime: 1359570204710 } ],
debug: env:
debug: { SUBDOMAIN: 'alexd.virilla_2.0',
debug: NODE_ENV: 'production' },
debug: domains: [],
debug: databases: {},
debug: maxDrones: 1,
debug: drones: 0,
debug: ctime: 1359566574546,
debug: mtime: 1359570205248,
debug: resource: 'App',
debug: _rev: '8-39bd2f01572c04734b2e3b47d871c41a',
debug: version: '2.0.0-2',
debug: dependencies:
debug: { express: '3.1.0',
debug: jade: '0.28.1',
debug: mongoose: '3.5.5',
debug: 'connect-mongo': '0.3.2',
debug: 'connect-flash': '0.1.0',
debug: passport: '0.1.15',
debug: 'passport-local': '0.1.6',
debug: 'passport-facebook': '0.1.4',
debug: imager: '0.1.4',
debug: underscore: '1.4.4',
debug: gzippo: '0.2.0',
debug: async: '0.1.22' },
debug: description: 'Description',
debug: engines: { node: '0.8.x' },
debug: id: 'Virilla_2.0',
debug: devDependencies: { nodemon: 'latest' },
debug: active:
debug: { id: '2.0.0-2',
debug: md5: '0b3fb8b2af429c9f5bb1dcd222a20cb1',
debug: filename: 'alexd-Virilla_2.0-2.0.0-2.tgz',
debug: ctime: 1359570204710,
debug: active: false,
debug: running: false },
debug: subscriptionId: 2798623 } } }
warn: Local package version appears to be old
warn: The package.json version will be incremented automatically
warn: About to write /Users/alex/Desktop/Dropbox/Code/Node/virilla_2.0/package.json
data:
data: {
data: engines: { node: '0.8.x' },
data: dependencies: {
data: imager: '0.1.4',
data: connect-flash: '0.1.0',
data: express: '3.1.0',
data: passport-facebook: '0.1.4',
data: gzippo: '0.2.0',
data: mongoose: '3.5.5',
data: jade: '0.28.1',
data: async: '0.1.22',
data: underscore: '1.4.4',
data: passport: '0.1.15',
data: passport-local: '0.1.6',
data: connect-mongo: '0.3.2'
data: },
data: subdomain: 'alexd.virilla_2.0',
data: private: false,
data: name: 'Virilla_2.0',
data: version: '2.0.0-3',
data: scripts: { start: 'node server.js' },
data: devDependencies: { nodemon: 'latest' },
data: description: 'Description',
data: author: 'Alex Delany <delany@gmail.com>'
data: }
data:
prompt: Is this ok?: (yes)
info: Creating snapshot 2.0.0-3
info Uploading: [=============================] 100%
info: Updating app Virilla_2.0
debug: { method: 'PUT',
debug: uri: 'https://api.nodejitsu.com/apps/alexd/Virilla_2.0',
debug: headers:
debug: { Authorization: '*********************',
debug: 'Content-Type': 'application/json' },
debug: timeout: 240000,
debug: body: '{"name":"Virilla_2.0","description":"Description","private":false,"author":"Alex Delany <delany@gmail.com>","engines":{"node":"0.8.x"},"scripts":{"start":"node server.js"},"dependencies":{"express":"3.1.0","jade":"0.28.1","mongoose":"3.5.5","connect-mongo":"0.3.2","connect-flash":"0.1.0","passport":"0.1.15","passport-local":"0.1.6","passport-facebook":"0.1.4","imager":"0.1.4","underscore":"1.4.4","gzippo":"0.2.0","async":"0.1.22"},"devDependencies":{"nodemon":"latest"},"subdomain":"alexd.virilla_2.0","version":"2.0.0-3"}' }
debug: { statusCode: 204, result: undefined }
info: Activating snapshot 2.0.0-3 for Virilla_2.0
debug: { method: 'POST',
debug: uri: 'https://api.nodejitsu.com/apps/alexd/Virilla_2.0/snapshots/2.0.0-3/activate',
debug: headers:
debug: { Authorization: '*********************',
debug: 'Content-Type': 'application/json' },
debug: timeout: 240000,
debug: body: '{}' }
debug: { statusCode: 200,
debug: result:
debug: { active:
debug: { id: '2.0.0-3',
debug: md5: '49a3f3473f7bb7da0dc3372a32f2c5c8',
debug: filename: 'alexd-Virilla_2.0-2.0.0-3.tgz',
debug: ctime: 1359570269268,
debug: active: false,
debug: running: false } } }
info: Starting app Virilla_2.0
debug: { method: 'POST',
debug: uri: 'https://api.nodejitsu.com/apps/alexd/Virilla_2.0/start',
debug: headers:
debug: { Authorization: '*********************',
debug: 'Content-Type': 'application/json' },
debug: timeout: 240000,
debug: body: '{}' }
debug: { statusCode: 500,
debug: result:
debug: { message: 'socket hang up',
debug: stack: 'Error: socket hang up\n at createHangUpError (http.js:1264:15)\n at Socket.socketOnEnd (http.js:1352:23)\n at TCP.onread (net.js:418:26)',
debug: code: 'ECONNRESET' } }
error: Error running command deploy
error: Nodejitsu Error (500): Internal Server Error
warn: Error returned from Nodejitsu
error: Error: socket hang up
error: at createHangUpError (http.js:1264:15)
error: at Socket.socketOnEnd (http.js:1352:23)
error: at TCP.onread (net.js:418:26)
help: For help with this error contact Nodejitsu Support:
help: webchat: <http://webchat.nodejitsu.com/>
help: irc: <irc://chat.freenode.net/#nodejitsu>
help: email: <support@nodejitsu.com>
help:
help: Copy and paste this output to a gist (http://gist.github.com/)
info: Nodejitsu not ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment