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
ReferenceError: /home/x/code/c/b/boilerplate/everyauth/example/views/home.jade:1 | |
> 1| - if (!everyauth.loggedIn) | |
2| h2 Not Authenticated | |
3| #register | |
4| a(href='/register') Register | |
everyauth is not defined | |
at eval (eval at <anonymous> (/home/x/code/c/b/boilerplate/everyauth/node_modules/jade/lib/jade.js:176:8)) | |
at exports.compile (/home/x/code/c/b/boilerplate/everyauth/node_modules/jade/lib/jade.js:181:12) | |
at Object.exports.render (/home/x/code/c/b/boilerplate/everyauth/node_modules/jade/lib/jade.js:216:14) |
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
var app = require('http').createServer(handler) | |
, io = require('socket.io').listen(app) | |
, fs = require('fs') | |
app.listen(80); | |
function handler (req, res) { | |
fs.readFile(__dirname + '/index.html', | |
function (err, data) { | |
if (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
var visitors = 50; | |
var sockets = []; | |
(function($) { | |
$('body').append('<h1>Our Sockets: <span class="ourSockets">0</span></h1>'); | |
socket.on('countChanged', autoVisit); | |
function autoVisit(data) { |
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 | |
warn: Error returned from Nodejitsu | |
error: Error: connect ECONNREFUSED | |
error: at errnoException (net.js:781:11) | |
error: at Object.afterConnect [as oncomplete] (net.js:772:19) | |
info: Nodejitsu not ok |
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
npm ERR! error installing jitsu@0.9.5 Error: Unsupported | |
npm ERR! error installing jitsu@0.9.5 at checkEngine (/usr/local/lib/node_modules/npm/lib/install.js:493:14) | |
npm ERR! error installing jitsu@0.9.5 at Array.0 (/usr/local/lib/node_modules/npm/node_modules/slide/lib/bind-actor.js:15:8) | |
npm ERR! error installing jitsu@0.9.5 at LOOP (/usr/local/lib/node_modules/npm/node_modules/slide/lib/chain.js:15:13) | |
npm ERR! error installing jitsu@0.9.5 at chain (/usr/local/lib/node_modules/npm/node_modules/slide/lib/chain.js:20:4) | |
npm ERR! error installing jitsu@0.9.5 at installOne_ (/usr/local/lib/node_modules/npm/lib/install.js:470:3) | |
npm ERR! error installing jitsu@0.9.5 at installOne (/usr/local/lib/node_modules/npm/lib/install.js:411:3) | |
npm ERR! error installing jitsu@0.9.5 at /usr/local/lib/node_modules/npm/lib/install.js:347:9 | |
npm ERR! error installing jitsu@0.9.5 at /usr/local/lib/node_modules/npm/node_modules/slide/lib/async-map.js:54:35 | |
npm ERR! error installing jitsu@0.9.5 |