Skip to content

Instantly share code, notes, and snippets.

nfo: Starting app doableapi
error: Error running command deploy
error: socket hang up
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
info: Creating snapshot 0.0.4-10
error: Error running command deploy
error: Nodejitsu Error (500): Internal Server Error
error: npm http GET http://nj-npm.irisnpm.com/express
npm http GET http://nj-npm.irisnpm.com/mongodb/1.1.7
npm http GET http://nj-npm.irisnpm.com/mongoose/3.2.1
npm http GET http://nj-npm.irisnpm.com/mongoose-types
npm http GET http://nj-npm.irisnpm.com/underscore
npm http GET http://nj-npm.irisnpm.com/node-uuid
npm http GET http://nj-npm.irisnpm.com/connect-mongo
{
"name": "doableapi",
"version": "0.0.4-23",
"private": true,
"dependencies": {
"express": "3.0.x",
"mongodb": "1.1.7",
"mongoose": "3.2.1",
"mongoose-types": "1.0.x",
"underscore": "1.4.x",
$ jitsu deploy --debug
info: Welcome to Nodejitsu doable
info: jitsu v0.9.8
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Analyzing application dependencies in appjitsu.js
debug: { method: 'GET',
debug: uri: 'https://api.nodejitsu.com/apps/doable/doableapi',
debug: headers:
debug: { Authorization: 'Basic ZG9hYmxlOlRpdGU0c3M=',
info: Creating snapshot 0.0.4-26
info Uploading: [= ] 5%
info: Updating app doableapi
info: Activating snapshot 0.0.4-26 for doableapi
info: Starting app doableapi
error: Error running command deploy
error: Nodejitsu Error (500): Internal Server Error
error:
error: There was an error while attempting to start the app
error: Error spawning drone
info: Creating snapshot 0.0.4-32
info Uploading: [= ] 5%
info: Updating app doableapi
info: Activating snapshot 0.0.4-32 for doableapi
info: Starting app doableapi
error: Error running command deploy
error: Nodejitsu Error (500): Internal Server Error
error: There was an error while attempting to deploy the app
error:
error: Rackspace Error (404): Item not found
prompt: Is this ok?: (yes)
info: Creating snapshot 0.0.4-34
info Uploading: [= ] 5%
info: Updating app doableapi
info: Activating snapshot 0.0.4-34 for doableapi
info: Starting app doableapi
error: Error running command deploy
error: Nodejitsu Error (500): Internal Server Error
error: There was an error while attempting to deploy the app
error:
@porsager
porsager / gist:4690893
Created February 1, 2013 11:54
Mongoose: Updating values in null object results in mongo 10145 LEFT_SUBFIELD
var mongoose = require('mongoose'),
_ = require('underscore');
mongoose.connect('mongodb://localhost/test');
mongoose.set('debug', true);
var docSchema = new mongoose.Schema({
title: String,
meta: {
enabled: Boolean,
var http = require('http'),
express = require('express'),
app = express();
app.get('/', function(req, res){
console.log('request');
res.send('hello world');
});
var server = http.createServer(app);
var http = require('http');
var agent = new http.Agent();
var makeRequestOne = function(){
var req = http.request({
hostname: 'persistenttest.jit.su',
agent: agent
}, function(res){
res.on('data', function(chunk){