/Users/user/ScribeOriginalJS/src/index.js:337
tag = tag(path.basename(n));
^
TypeError: undefined is not a function
at Console.console.f.console.file (/Users/user/ScribeOriginalJS/src/index.js:337:15)
at Object.<anonymous> (/Users/user/ScribeOriginalJS/test.js:61:9)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:906:3
This line throws the error:
console.f(__filename).log("Your message"); // [file.js] Your message
Could you add more usage information to the example or the documentation?
I get an error when trying the example:
This line throws the error:
console.f(__filename).log("Your message"); // [file.js] Your message
Could you add more usage information to the example or the documentation?