Skip to content

Instantly share code, notes, and snippets.

{
"error": {
"message": "Error spawning drone",
"stack": "Error: Error spawning drone\n at Object.onTimeout [as _onTimeout] (/home/bob/Documents/node/node_modules/haibu/lib/haibu/core/spawner.js:396:15)\n at Timer.list.ontimeout (timers.js:101:19)",
"blame": {
"type": "user",
"message": "Script took too long to listen on a socket"
},
"stdout": "log\na: 0ms\n/home/bob/Documents/node/node_modules/haibu/local/bob/test/bob-test-1350574614017\nasdsad",
"stderr": "warn\nerror"
make: Entering directory `/home/bob/Documents/node/Node-JS-Bootstrap/node_modules/bcrypt/build'
CXX(target) Release/obj.target/bcrypt_lib/src/blowfish.o
CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt.o
CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt_node.o
In file included from /home/bob/.node-gyp/0.8.11/deps/openssl/openssl/include/openssl/e_os2.h:1:0,
from /home/bob/.node-gyp/0.8.11/deps/openssl/openssl/include/openssl/../../crypto/ossl_typ.h:58,
from /home/bob/.node-gyp/0.8.11/deps/openssl/openssl/include/openssl/ossl_typ.h:1,
from /home/bob/.node-gyp/0.8.11/deps/openssl/openssl/include/openssl/../../crypto/rand/rand.h:63,
from /home/bob/.node-gyp/0.8.11/deps/openssl/openssl/include/openssl/rand.h:1,
from ../src/bcrypt_node.cc:38:
node-gyp: ../src/handle_wrap.cc:65: static v8::Handle<v8::Value> node::HandleWrap::Unref(const v8::Arguments&): Assertion `args.Holder()->InternalFieldCount() > 0' failed.
Array.prototype.forLoop = function(worker, callBack) {
var self = this;
var returnData = [];
var loop = function(i) {
if(i === self.length) {
return callBack(returnData);
}
var fs = require('fs');
var request = require('request');
var express = require('express')
var server = express.createServer();
server.use(express.bodyParser())
/**
*
@FLYBYME
FLYBYME / module.js
Created August 10, 2012 04:54
require for raft paas
// Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to permit
// persons to whom the Software is furnished to do so, subject to the
// following conditions:
//
var fs = require('fs');
var path = require('path');
var util = require('util');
var vm = require('vm');
var Module = require('module');
/***
* Node modules
*/
//code
var app = express.createServer();
app.configure(function() {
app.set("view engine", "html");
app.register(".html", jqtpl.express);
app.set('views', __dirname + '/views');
var util = require('util')
var spawn = require('child_process').spawn
var fs = require('fs')
var out = fs.createWriteStream('./out.log', {
flags : 'a',
encoding : null,
mode : 0666
})
/***
* Node modules
*/
var events = require('events');
var Stream = require('stream');
var util = require('util');
var path = require('path');
var crypto = require('crypto');
var fs = require('fs');