Reactotron: TypeError: Cannot read property 'startedAt' of undefined

Created on 28 Jan 2019  路  5Comments  路  Source: infinitered/reactotron

Hello,
I have this error below, can you help me? I do not know what to do.

TypeError: Cannot read property 'startedAt' of undefined
updateDuration

var updateDuration = function updateDuration(effectInfo) {
> 142 |   effectInfo.duration = timer() - effectInfo.startedAt;
      | ^  143 | }; // fires when a task has been resolved


var effectResolved = function effectResolved(effectId, result) {
  241 |   // lookup this effect info and set the rsult
  242 |   var effectInfo = effects[effectId];
> 243 |   updateDuration(effectInfo);
      | ^  244 |   effectInfo.result = result; // this is a task
  245 | 
  246 |   if (reduxSaga_utils.is.task(result)) {



  1369 | true, noop);
  1370 | 
  1371 | if (sagaMonitor) {
> 1372 |   sagaMonitor.effectResolved(effectId, task);
       | ^  1373 | }
  1374 | 
  1375 | return task;

Most helpful comment

Version 3.0.0 of reactotron-redux-saga has been released that supports redux-saga 1.0.0 馃帀

All 5 comments

Same problem. Just updated "reactotron-redux-saga": "^2.1.3" to "reactotron-redux-saga": "^2.1.4"

Did little bit of debugging effects for effectId = 1 is undefined.

Did little bit of debugging effects for effectId = 1 is undefined.

@ahmad2smile What version of redux-saga are you using? I'm also observing issue. Not sure whether it's related but using [email protected].

@ahmad2smile yes it's related to [email protected]. The issue is already addressed in pending PR. https://github.com/infinitered/reactotron-redux-saga/pull/5

Version 3.0.0 of reactotron-redux-saga has been released that supports redux-saga 1.0.0 馃帀

Was this page helpful?
0 / 5 - 0 ratings

Related issues

VansonLeung picture VansonLeung  路  4Comments

tolu360 picture tolu360  路  5Comments

Ashoat picture Ashoat  路  4Comments

scally picture scally  路  5Comments

AdrienLemaire picture AdrienLemaire  路  3Comments