I am a complete Node.js newbie and struggling with the basics. Running this code on the server:
var http = require("http"),
sys = require("util"),
io = require("socket.io"),
GlobTrie = require("glob-trie.js");
Gives me an exception at the first require:
Uncaught ReferenceError: require is not defined
(anonymous function)
Any thoughts?
Best regards, Ben.