Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read property 'action' of undefined #25

Open
justingosan opened this issue Jun 17, 2017 · 2 comments
Open

Cannot read property 'action' of undefined #25

justingosan opened this issue Jun 17, 2017 · 2 comments

Comments

@justingosan
Copy link

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
Copy link
Owner

zalmoxisus commented Jun 26, 2017

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
Copy link
Owner

Should be fixed in v0.2.8 via #26.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants