aredridel/html5 — Issue #45: doc/jquery-example.js uses deprecated require.paths
Author: dmitris
Created: 2011-11-29 11:05:41+00:00
State: open

trying to run it gives now an error (with node 0.6.x):

$ node jquery-example.js

node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: require.paths is removed. Use node_modules folders, or the NODE_PATH environment variable instead.
at Function. (module.js:376:11)
at Object. (html5/doc/jquery-example.js:1:70)
at Module._compile (module.js:432:26)
at Object..js (module.js:450:10)
at Module.load (module.js:351:31)
at Function._load (module.js:310:12)
at Array.0 (module.js:470:10)
at EventEmitter._tickCallback (node.js:192:40)