Hi theres,
I saw Meteor Doc indicates that the Tracker are 'client' Api, are those supposed to be used in Server side ?
Further, I got an exception when use Tracker and Meteor method to set a timer, below is an exception
I20140911-18:23:45.992(8)? Exception from Tracker recompute function: Error: Meteor code must always run within a Fiber. Try wrapping callbacks that you pass to non-Meteor libraries with Meteor.bindEnvironment.
I20140911-18:23:45.993(8)? at Object.Meteor._nodeCodeMustBeInFiber (packages/meteor/dynamics_nodejs.js:9)
I20140911-18:23:45.993(8)? at _.extend.get (packages/meteor/dynamics_nodejs.js:21)
I20140911-18:23:45.993(8)? at withoutInvocation (packages/meteor/timers.js:4)
I20140911-18:23:45.993(8)? at bindAndCatch (packages/meteor/timers.js:13)
I20140911-18:23:45.994(8)? at Object._.extend.setTimeout (packages/meteor/timers.js:29)
I20140911-18:23:45.994(8)? at packages/troubleshooting-wan/wan-summary.js:83 <<< This is a server side JS, handling a Method call from Client side.. in this
I20140911-18:23:45.995(8)? at packages/tracker/tracker.js:72
I20140911-18:23:45.995(8)? at Object.Meteor._noYieldsAllowed (packages/meteor/fiber_helpers.js:11)
I20140911-18:23:45.995(8)? at packages/tracker/tracker.js:71
I20140911-18:23:45.996(8)? at Tracker.Computation._compute (packages/tracker/tracker.js:255)
The wan-summary.js handling a Method call from Client side, and set a ReactiveVar, to do timer..
Thanks in advance if anyone could help.
Best regards,
Ricard-