This file contains 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
#!/usr/bin/env bash | |
rm -f archive.zip | |
zip -r -q archive.zip node_modules *.js | |
echo "File created: archive.zip" |
This file contains 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
$ cat package.json | |
{ | |
"name": "rpwm-server", | |
"version": "1.0.1", | |
"private": true, | |
"dependencies": { | |
"connect-flash": "latest", | |
"ecstatic": "latest", | |
"ejs": "latest", | |
"express": "latest", |
This file contains 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
$ jitsu install ghost --debug | |
info: Welcome to Nodejitsu airandfingers | |
info: jitsu v0.13.15, node v0.10.26 | |
info: It worked if it ends with Nodejitsu ok | |
info: Executing command install ghost | |
info: Installing ghost locally | |
warn: Downloading packages from npm, this may take a moment... | |
npm http GET https://registry.npmjs.org/persistent-ghost | |
npm http 304 https://registry.npmjs.org/persistent-ghost | |
npm http GET https://registry.npmjs.org/async |
This file contains 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
//unix-dgram/src/unix_dgram.js | |
Socket.prototype.send = function(buf, offset, length, path, callback) { | |
// FIXME defer error and callback to next tick? | |
var err; | |
if (send(this.fd, buf, offset, length, path) == -1) { | |
err = 'Error with send'; // Replaces this.emit('error', errnoException(errno, 'send')); | |
} | |
callback(err); // Always call callback, sometimes with err | |
}; |
This file contains 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
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 | |
error: Script prematurely exited | |
error: | |
error: This type of error is usually a user error. | |
error: Error output from app: | |
error: |
This file contains 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
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: tar exited with code: 2 | |
error: Error output from Haibu: | |
error: | |
error: Error: tar exited with code: 2 | |
error: at ChildProcess.Tar.init (/root/haibu-orchestra/node_modules/haibu/lib/haibu/repositories/tar.js:58:26) | |
error: at ChildProcess.EventEmitter.emit (events.js:91:17) |
This file contains 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
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 | |
error: Error output from Haibu: | |
error: | |
error: Error: Rackspace Error (404): Item not found | |
error: at Request._callback (/root/haibu-orchestra/node_modules/haibu/node_modules/cloudfiles/lib/cloudfiles/common.js:184:18) | |
error: at Request.init.self.callback (/root/haibu-orchestra/node_modules/haibu/node_modules/request/main.js:119:22) |
This file contains 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
{ | |
"name":"rpwm-server", | |
"version":"1.0.0-49", | |
"private":true, | |
"dependencies": | |
{ | |
"connect-flash":"latest", | |
"ecstatic":"latest", | |
"ejs":"latest", | |
"express":"latest", |
This file contains 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
ayoshitake@aaron-dev:~/server_48$ jitsu deploy | |
info: Welcome to Nodejitsu airandfingers | |
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 bootstrap.js | |
info: Creating snapshot 1.0.0-49 | |
info Uploading: [=============================] 100% | |
error: Error running command deploy | |
error: Nodejitsu Error (500): Internal Server Error |
This file contains 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
info: Creating snapshot 1.0.0-7 | |
info Uploading: [=============================] 100% | |
info: Updating app rpwm-server | |
info: Activating snapshot 1.0.0-7 for rpwm-server | |
info: Starting app rpwm-server | |
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 |