liderbug
03-09-2012, 02:03 PM
Noob, Linux, lost...
I found a bit of sample code I want to mod&use that starts with:
var fs = require("fs"); then later fs.open, fs.write/read...
I've scanned the web, searched codingforums and the best I can come up with is NodeJS. I did a download/install and .... no joy.
Thank you.
Never mind (for now) it was really late, tired, not thinking (I do that a lot these days) and I CAN"T TPYE.
I'm back. configure, make, make install -> 'install' finished successfully' - My first time adding external JS modules? I now have a file "fs.js". The code blows out on the first line: var fs = require("fs"); I've tried req(fs.js) with no luck. What do I need to do?
Thanks
I found a bit of sample code I want to mod&use that starts with:
var fs = require("fs"); then later fs.open, fs.write/read...
I've scanned the web, searched codingforums and the best I can come up with is NodeJS. I did a download/install and .... no joy.
Thank you.
Never mind (for now) it was really late, tired, not thinking (I do that a lot these days) and I CAN"T TPYE.
I'm back. configure, make, make install -> 'install' finished successfully' - My first time adding external JS modules? I now have a file "fs.js". The code blows out on the first line: var fs = require("fs"); I've tried req(fs.js) with no luck. What do I need to do?
Thanks