Closed phoebebright closed 12 years ago
Can you please post your serial.js code here?
Just checked
C:\Test>node -v v0.6.13
C:\Test>node serial.js login to Betfair Remember new session token login OK send keepAlive keepAlive OK logout Closing session ========== Changing session token ========== logout OK
Everything works as expected
Aghhh - on commenting out my login and password I realise they were the original variable login and password rather than bflogin and bfpassword. Glad it's an easily fixed user error.
Ooops!
Am following the steps in the wiki and got stuck on step 4. All ok until then so my basic install is ok. Installed the async app and tried step 4 and get the error below. Am not sure how to proceed?
Phoebe-Brights-iMac:ggviz phoebebr$ node serial.js
/Users/phoebebr/Development/ggviz/node_modules/betfair-sports-api/node_modules/async/lib/async.js:486 fn(function (err) { ^ TypeError: string is not a function at String.CALL_NON_FUNCTION (native) at /Users/phoebebr/Development/ggviz/node_modules/betfair-sports-api/node_modules/async/lib/async.js:486:21 at /Users/phoebebr/Development/ggviz/node_modules/betfair-sports-api/node_modules/async/lib/async.js:185:13 at /Users/phoebebr/Development/ggviz/node_modules/betfair-sports-api/node_modules/async/lib/async.js:108:13 at /Users/phoebebr/Development/ggviz/node_modules/betfair-sports-api/node_modules/async/lib/async.js:124:9 at /Users/phoebebr/Development/ggviz/node_modules/betfair-sports-api/node_modules/async/lib/async.js:184:9 at Object.mapSeries (/Users/phoebebr/Development/ggviz/node_modules/betfair-sports-api/node_modules/async/lib/async.js:174:23) at Object.series (/Users/phoebebr/Development/ggviz/node_modules/betfair-sports-api/node_modules/async/lib/async.js:484:19) at Object. (/Users/phoebebr/Development/ggviz/serial.js:12:7)
at Module._compile (module.js:446:26)
Phoebe-Brights-iMac:ggviz phoebebr$