aredridel / html5

Event-driven HTML5 Parser in Javascript
http://dinhe.net/~aredridel/projects/js/html5/
MIT License
590 stars 168 forks source link

Error: Cannot find module 'jsdom/level2/core' #3

Closed gavinuhma closed 13 years ago

gavinuhma commented 13 years ago

node version: v0.2.5 jsdom version: 0.1.20

This happens after attempting to run the example:

node.js:63
    throw e;
    ^
Error: Cannot find module 'jsdom/level2/core'
    at loadModule (node.js:275:15)
    at require (node.js:411:14)
    at EventEmitter.HTML5Parser (/home/ubuntu/nvm/v0.2.5/lib/node/.npm/html5/0.2.5/package/lib/html5/parser.js:31:12)
    at Object.<anonymous> (/home/ubuntu/html5.js:11:14)
    at Module._compile (node.js:462:23)
    at Module._loadScriptSync (node.js:469:10)
    at Module.loadSync (node.js:338:12)
    at Object.runMain (node.js:522:24)
    at Array.<anonymous> (node.js:756:12)
    at EventEmitter._tickCallback (node.js:55:22)
EmilStenstrom commented 13 years ago

node version: v0.2.5 jsdom version: 0.1.21 environment: Cygwin

Same error here. Any idea why this happens?

Update: Ah, this is of course because we didn't read the installation instructions. Sorry.

aredridel commented 13 years ago

Close.