jschuur@Paige:Node npm install express -g
/usr/local/bin/express -> /usr/local/lib/node_modules/express/bin/express
[email protected] /usr/local/lib/node_modules/express 
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]
jschuur@Paige:Node express nodetube

   create : nodetube
   create : nodetube/package.json
   create : nodetube/app.js
   create : nodetube/public
   create : nodetube/routes
   create : nodetube/routes/index.js
   create : nodetube/views
   create : nodetube/views/layout.jade
   create : nodetube/views/index.jade
   create : nodetube/public/javascripts
   create : nodetube/public/images
   create : nodetube/public/stylesheets
   create : nodetube/public/stylesheets/style.css

   dont forget to install dependencies:
   $ cd nodetube && npm install

jschuur@Paige:Node cd nodetube/
jschuur@Paige:nodetube npm install
[email protected] ./node_modules/express 
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]
[email protected] ./node_modules/jade 
├── [email protected]
└── commander@0[email protected]
jschuur@Paige:nodetube npm install jsdom
npm WARN [email protected] package.json: bugs['web'] should probably be bugs['url']
npm WARN [email protected] package.json: bugs['web'] should probably be bugs['url']
npm WARN [email protected] package.json: bugs['web'] should probably be bugs['url']

> [email protected] preinstall /Users/jschuur/Code/Node/nodetube/node_modules/jsdom/node_modules/contextify
> node-waf clean || true; node-waf configure build

Nothing to clean (project not configured)
Setting srcdir to                        : /Users/jschuur/Code/Node/nodetube/node_modules/jsdom/node_modules/contextify 
Setting blddir to                        : /Users/jschuur/Code/Node/nodetube/node_modules/jsdom/node_modules/contextify/build 
Checking for program g++ or c++          : /usr/bin/g++ 
Checking for program cpp                 : /usr/bin/cpp 
Checking for program ar                  : /usr/bin/ar 
Checking for program ranlib              : /usr/bin/ranlib 
Checking for g++                         : ok  
Checking for node path                   : not found 
Checking for node prefix                 : ok /usr/local 
'configure' finished successfully (0.045s)
Waf: Entering directory `/Users/jschuur/Code/Node/nodetube/node_modules/jsdom/node_modules/contextify/build'
[1/2] cxx: src/contextify.cc -> build/Release/src/contextify_1.o
[2/2] cxx_link: build/Release/src/contextify_1.o -> build/Release/contextify.node
Waf: Leaving directory `/Users/jschuur/Code/Node/nodetube/node_modules/jsdom/node_modules/contextify/build'
'build' finished successfully (0.407s)
[email protected] ./node_modules/jsdom 
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]
jschuur@Paige:nodetube npm install request
npm WARN [email protected] package.json: bugs['web'] should probably be bugs['url']
npm WARN [email protected] package.json: bugs['web'] should probably be bugs['url']
[email protected] ./node_modules/request 
jschuur@Paige:nodetube mate .
jschuur@Paige:nodetube node app.js 
The "sys" module is now called "util". It should have a similar interface.
Express server listening on port 3000 in development mode
TypeError: undefined is not a function
    at Object.createWindow (/Users/jschuur/Code/Node/nodetube/node_modules/jsdom/lib/jsdom/browser/index.js:267:3)
    at Object.windowAugmentation (/Users/jschuur/Code/Node/nodetube/node_modules/jsdom/lib/jsdom/browser/index.js:27:24)
    at Object.parentWindow (/Users/jschuur/Code/Node/nodetube/node_modules/jsdom/lib/jsdom/browser/index.js:560:28)
    at Object.<anonymous> (/Users/jschuur/Code/Node/nodetube/node_modules/jsdom/lib/jsdom/level2/html.js:1663:37)
    at Object.<anonymous> (/Users/jschuur/Code/Node/nodetube/node_modules/jsdom/lib/jsdom/level2/html.js:157:18)
    at Object.<anonymous> (/Users/jschuur/Code/Node/nodetube/node_modules/jsdom/lib/jsdom/level2/html.js:155:17)
    at /Users/jschuur/Code/Node/nodetube/node_modules/jsdom/lib/jsdom/level2/html.js:203:16
    at Object.createElement (/Users/jschuur/Code/Node/nodetube/node_modules/jsdom/lib/jsdom/level1/core.js:1193:75)
    at setChild (/Users/jschuur/Code/Node/nodetube/node_modules/jsdom/lib/jsdom/browser/htmltodom.js:128:35)
    at setChild (/Users/jschuur/Code/Node/nodetube/node_modules/jsdom/lib/jsdom/browser/htmltodom.js:171:7)
TypeError: undefined is not a function
    at Object.createWindow (/Users/jschuur/Code/Node/nodetube/node_modules/jsdom/lib/jsdom/browser/index.js:267:3)
    at Object.windowAugmentation (/Users/jschuur/Code/Node/nodetube/node_modules/jsdom/lib/jsdom/browser/index.js:27:24)
    at Object.parentWindow (/Users/jschuur/Code/Node/nodetube/node_modules/jsdom/lib/jsdom/browser/index.js:560:28)
    at Object.<anonymous> (/Users/jschuur/Code/Node/nodetube/node_modules/jsdom/lib/jsdom/level2/html.js:1663:37)
    at Object.<anonymous> (/Users/jschuur/Code/Node/nodetube/node_modules/jsdom/lib/jsdom/level2/html.js:157:18)
    at Object.<anonymous> (/Users/jschuur/Code/Node/nodetube/node_modules/jsdom/lib/jsdom/level2/html.js:155:17)
    at /Users/jschuur/Code/Node/nodetube/node_modules/jsdom/lib/jsdom/level2/html.js:203:16
    at Object.createElement (/Users/jschuur/Code/Node/nodetube/node_modules/jsdom/lib/jsdom/level1/core.js:1193:75)
    at setChild (/Users/jschuur/Code/Node/nodetube/node_modules/jsdom/lib/jsdom/browser/htmltodom.js:128:35)
    at setChild (/Users/jschuur/Code/Node/nodetube/node_modules/jsdom/lib/jsdom/browser/htmltodom.js:171:7)

/Users/jschuur/Code/Node/nodetube/node_modules/jsdom/lib/jsdom/browser/index.js:267
  Contextify(window);
  ^
TypeError: undefined is not a function
    at Object.createWindow (/Users/jschuur/Code/Node/nodetube/node_modules/jsdom/lib/jsdom/browser/index.js:267:3)
    at Object.windowAugmentation (/Users/jschuur/Code/Node/nodetube/node_modules/jsdom/lib/jsdom/browser/index.js:27:24)
    at Object.parentWindow (/Users/jschuur/Code/Node/nodetube/node_modules/jsdom/lib/jsdom/browser/index.js:560:28)
    at Object.<anonymous> (/Users/jschuur/Code/Node/nodetube/node_modules/jsdom/lib/jsdom.js:82:15)
    at /Users/jschuur/Code/Node/nodetube/node_modules/jsdom/lib/jsdom.js:170:52
    at Object.env (/Users/jschuur/Code/Node/nodetube/node_modules/jsdom/lib/jsdom.js:256:5)
    at Request.callback (/Users/jschuur/Code/Node/nodetube/app.js:46:13)
    at Request.<anonymous> (/Users/jschuur/Code/Node/nodetube/node_modules/request/main.js:314:21)
    at Request.emit (events.js:67:17)
    at IncomingMessage.<anonymous> (/Users/jschuur/Code/Node/nodetube/node_modules/request/main.js:295:19)
jschuur@Paige:nodetube