pullfinger / localbitcoins-analytics

tools to perform analytics on a localbitcoins trading account
0 stars 2 forks source link

turn fs payload into guarded function with a file missing error #4

Open pullfinger opened 9 years ago

pullfinger commented 9 years ago

/home/cole/localbitcoins-analytics/lbc-transaction-reports.js:263 thepayload = yield JSON.parse(fs.readFileSync('transactions.json', 'utf8' ^^^^ SyntaxError: Unexpected identifier at exports.runInThisContext (vm.js:73:16) at Module._compile (module.js:443:25) at Object.Module._extensions..js (module.js:478:10) at Module.load (module.js:355:32) at Function.Module._load (module.js:310:12) at Function.Module.runMain (module.js:501:10) at startup (node.js:129:16) at node.js:814:3