public
Created

Jitsu Install HTTP

  • Download Gist
jitsu install http-server
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141
Garrett-Smiths-MacBook-Pro:missionmassage garrettsmith$ jitsu install http-server
info: Welcome to Nodejitsu
info: It worked if it ends with Nodejitsu ok
info: Executing command install http-server
info: Installing http-server locally.
warn: Downloading packages from npm, this may take a moment...
info: http-server installed.
help: You can now jitsu deploy this application
prompt: Would you like to start this application locally? (yes): yes
warn: Outputting logs from: http-server
 
 
Starting up http-server, serving ./public on port: 8080
 
{
"process": {
"pid": 3384,
"uid": 501,
"gid": 20,
"cwd": "/Users/garrettsmith/missionmassage",
"execPath": "/usr/bin/node",
"version": "v0.4.11",
"argv": [
"node",
"/Users/garrettsmith/missionmassage/bin/http-server"
],
"memoryUsage": {
"rss": 20451328,
"vsize": 3112767488,
"heapTotal": 14897344,
"heapUsed": 7448160
}
},
"os": {
"loadavg": [
0.34130859375,
0.64794921875,
0.63330078125
],
"uptime": 425476
},
"trace": [
{
"column": 5,
"file": "net.js",
"function": "Server._doListen",
"line": 1106,
"method": "_doListen",
"native": false
},
{
"column": 14,
"file": "net.js",
"function": null,
"line": 1077,
"method": null,
"native": false
},
{
"column": 30,
"file": "dns.js",
"function": null,
"line": 192,
"method": null,
"native": false
},
{
"column": 11,
"file": "dns.js",
"function": "Object.lookup",
"line": 190,
"method": "lookup",
"native": false
},
{
"column": 20,
"file": "net.js",
"function": "Server.listen",
"line": 1071,
"method": "listen",
"native": false
},
{
"column": 20,
"file": "Object].listen (/Users/garrettsmith/missionmassage/node_modules/flatiron/lib/flatiron/plugins/http.js",
"function": "[object",
"line": 81,
"method": null,
"native": false
},
{
"column": 11,
"file": "/Users/garrettsmith/missionmassage/node_modules/flatiron/lib/flatiron/plugins/http.js",
"function": null,
"line": 59,
"method": null,
"native": false
},
{
"column": 12,
"file": "Object].<anonymous> (/Users/garrettsmith/missionmassage/node_modules/flatiron/node_modules/broadway/lib/broadway/app.js",
"function": "[object",
"line": 74,
"method": null,
"native": false
},
{
"column": 31,
"file": "Object].init (/Users/garrettsmith/missionmassage/node_modules/flatiron/lib/flatiron/app.js",
"function": "[object",
"line": 31,
"method": null,
"native": false
},
{
"column": 9,
"file": "Object].start (/Users/garrettsmith/missionmassage/node_modules/flatiron/lib/flatiron/plugins/http.js",
"function": "[object",
"line": 50,
"method": null,
"native": false
}
],
"stack": [
"Error: EADDRINUSE, Address already in use",
" at Server._doListen (net.js:1106:5)",
" at net.js:1077:14",
" at dns.js:192:30",
" at Object.lookup (dns.js:190:11)",
" at Server.listen (net.js:1071:20)",
" at [object Object].listen (/Users/garrettsmith/missionmassage/node_modules/flatiron/lib/flatiron/plugins/http.js:81:20)",
" at /Users/garrettsmith/missionmassage/node_modules/flatiron/lib/flatiron/plugins/http.js:59:11",
" at [object Object].<anonymous> (/Users/garrettsmith/missionmassage/node_modules/flatiron/node_modules/broadway/lib/broadway/app.js:74:12)",
" at [object Object].init (/Users/garrettsmith/missionmassage/node_modules/flatiron/lib/flatiron/app.js:31:31)",
" at [object Object].start (/Users/garrettsmith/missionmassage/node_modules/flatiron/lib/flatiron/plugins/http.js:50:9)"
],
"level": "error",
"message": "uncaughtException"
}
 
Application exited 1

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.