learn Node.js and use it immediately. Encounter the first unsolvable error
//npm install utils
var utils = require("utils"),
EventEmitter = require("events").EventEmitter;
var Server = function(){
console.log("init");
}
utils.inherits(Server, EventEmitter);
var s = new Server();
s.on("abc", function(){
console.log("abc");
});
s.emit("abc");
error message
TypeError: utils.inherits is not a function
excuse me, where is the problem here?