This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Transport.prototype.end = function (reason) { | |
if (!this.disconnected) { | |
this.log.info('transport end (' + reason + ')'); | |
var local = this.manager.transports[this.id]; | |
this.close(); | |
this.clearTimeouts(); | |
this.disconnected = true; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Manager.prototype.initStore = function () { | |
this.handshaken = {}; | |
this.connected = {}; | |
this.open = {}; | |
this.closed = {}; | |
this.rooms = {}; | |
this.roomClients = {}; | |
var self = this; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
'targets': [ | |
{ | |
'target_name': 'sigar', | |
'conditions': [ | |
['OS=="win"', { | |
'build': '<!(echo windows))' | |
}, { | |
'build': '<!(sudo cp -rp <(module_root_dir)/deps/sigar <(module_root_dir)/build/sigar && cd <(module_root_dir)/build/sigar && ./autogen.sh && ./configure --prefix=<(module_root_dir)/build/Release --with-pic && make && make install))', | |
'sources': ['src/node_sigar.cc'], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
'targets': [ | |
{ | |
'target_name': 'sigar', | |
'conditions': [ | |
['OS=="win"', { | |
'build': '<!(echo windows))' | |
}, { | |
'build': '<!(sudo cp -rp <(module_root_dir)/deps/sigar <(module_root_dir)/build/sigar && cd <(module_root_dir)/build/sigar && sudo ./autogen.sh && sudo ./configure --prefix=<(module_root_dir)/build/Release --with-pic && sudo make && sudo make install))', | |
'sources': ['src/node_sigar.cc'], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ test sudo npm install test-sigar-gyp --verbose | |
npm info it worked if it ends with ok | |
npm verb cli [ '/Users/shripadk/node/bin/node', | |
npm verb cli '/Users/shripadk/node/bin/npm', | |
npm verb cli 'install', | |
npm verb cli 'test-sigar-gyp', | |
npm verb cli '--verbose' ] | |
npm info using [email protected] | |
npm info using [email protected] | |
npm verb read json /Users/shripadk/Test/package.json |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ sigar git:(master) sudo node-gyp configure | |
gyp info it worked if it ends with ok | |
gyp info using [email protected] | |
gyp info using [email protected] | darwin | x64 | |
gyp info spawn python | |
gyp info spawn args [ '/Users/shripadk/.node-gyp/0.8.14/tools/gyp/gyp', | |
gyp info spawn args 'binding.gyp', | |
gyp info spawn args '-f', | |
gyp info spawn args 'make', | |
gyp info spawn args '-I', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ team-unknown git:(master) ✗ jitsu databases create redis sentineldb | |
info: Welcome to Nodejitsu nko3-team-unknown | |
info: jitsu v0.10.5, node v0.8.14 | |
info: It worked if it ends with Nodejitsu ok | |
info: Executing command databases create redis sentineldb | |
info: A new redis has been created | |
/Users/shripadk/node/lib/node_modules/jitsu/lib/jitsu/commands/databases.js:320 | |
server = database.metadata.label.split('-')[0] + '.redistogo.com'; | |
^ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Users/shripadk/NKO/team-unknown/node_modules/redis/index.js:504 | |
throw callback_err; | |
^ | |
Error: Auth error: ERR timeout | |
at Command.RedisClient.do_auth.self.send_anyway [as callback] (/Users/shripadk/NKO/team-unknown/node_modules/redis/index.js:171:43) | |
at RedisClient.return_error (/Users/shripadk/NKO/team-unknown/node_modules/redis/index.js:500:25) | |
at ReplyParser.RedisClient.init_parser (/Users/shripadk/NKO/team-unknown/node_modules/redis/index.js:260:14) | |
at ReplyParser.EventEmitter.emit (events.js:96:17) | |
at ReplyParser.send_error (/Users/shripadk/NKO/team-unknown/node_modules/redis/lib/parser/javascript.js:293:10) | |
at ReplyParser.execute (/Users/shripadk/NKO/team-unknown/node_modules/redis/lib/parser/javascript.js:176:22) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Users/shripadk/NKO/team-unknown/node_modules/redis/index.js:726 | |
throw new Error("Connection in pub/sub mode, only pub/sub commands may | |
^ | |
Error: Connection in pub/sub mode, only pub/sub commands may be used | |
at RedisClient.send_command (/Users/shripadk/NKO/team-unknown/node_modules/redis/index.js:726:15) | |
at RedisClient.commands.forEach.RedisClient.(anonymous function) (/Users/shripadk/NKO/team-unknown/node_modules/redis/index.js:872:25) | |
at Timer.<anonymous> (/Users/shripadk/NKO/team-unknown/app.js:40:28) | |
at Timer.exports.setInterval.timer.ontimeout (timers.js:234:14) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ team-unknown git:(master) jitsu deploy | |
info: Welcome to Nodejitsu nko3-team-unknown | |
info: jitsu v0.11.3, node v0.8.14 | |
info: It worked if it ends with Nodejitsu ok | |
info: Executing command deploy | |
info: Analyzing application dependencies in node server.js | |
info: Creating snapshot 0.0.4 | |
info Uploading: [=============================] 100% | |
error: Error running command deploy | |
error: Nodejitsu Error (500): Internal Server Error |