zalmoxisus / mobx-remotedev

MobX DevTools extension
MIT License
327 stars 40 forks source link

Cannot read property 'action' of undefined #25

Open justingosan opened 7 years ago

justingosan commented 7 years ago

I'm getting this error on my webapp

Uncaught TypeError: Cannot read property 'action' of undefined
    at Object.../node_modules/mobx-remotedev/lib/utils.js (bundle.js:38997)
    at __webpack_require__ (bundle.js:660)
    at fn (bundle.js:86)
    at Object.../node_modules/mobx-remotedev/lib/spy.js (bundle.js:38814)
    at __webpack_require__ (bundle.js:660)
    at fn (bundle.js:86)
    at Object.../node_modules/mobx-remotedev/lib/dev.js (bundle.js:38577)
    at __webpack_require__ (bundle.js:660)
    at fn (bundle.js:86)
    at Object../store/EmployeeStore.js (bundle.js:109226)

using:

    "mobx": "^3.1.9",
    "mobx-remotedev": "^0.2.7",

I have the same packages in a react-native app and that seems to work fine

Any ideas?

zalmoxisus commented 7 years ago

Did you manage to figure it out? If not could you please show the exact line which throws? The only call of action property in mobx-remotedev/lib/utils.js is here.

zalmoxisus commented 7 years ago

Should be fixed in v0.2.8 via #26.