ReferenceError:Can't find variable:mobx
I am getting error which is Can't find varible :mobx

Here is packages version :
"mobx": "^5.15.4", "mobx-react": "^6.1.8", "moment": "^2.24.0", "prop-types": "^15.7.2", "pusher-js": "^5.1.1", "react": "~16.9.0", "react-dom": "~16.9.0", "react-native": "https://github.com/expo/react-native/archive/sdk-36.0.1.tar.gz",`
I know that reproducing issues with React Native is a pain, but without some actual code snippets, it's hard to tell where is your problem.
@FredyC You may suggest that how can I find this issues actually I am trying to update Expo project and there are many places where these two module mobx and mobx-react are used.
So you just updated mobx version? What version you have used before in that case?
@FredyC Here is the old version:
"mobx": "^4.3.1",
"mobx-react": "^5.1.0",
"moment": "^2.23.0",
"pusher-js": "^4.3.1",
"react": "16.5.0",
"react-native": "https://github.com/expo/react-native/archive/sdk-30.0.0.tar.gz",
Try to isolate some small portion of the app, comment out things that are not necessary for the app to start and where mobx is used.
did you try nuking your node_modules? This sounds like something pretty low level being wrong with your project.
On Fri, Mar 6, 2020 at 9:55 AM Daniel K. [email protected] wrote:
Try to isolate some small portion of the app, comment out things that are not necessary for the app to start and where mobx is used.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mobxjs/mobx/issues/2304?email_source=notifications&email_token=AAN4NBCB7FKMGPFRKMSK7KLRGDCBHA5CNFSM4LC3SUY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOAYSVQ#issuecomment-595691862, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAN4NBH4KJEAOMA3LYZYZADRGDCBHANCNFSM4LC3SUYQ .
@mweststrate but I am using all updated as well as supported versions.
Here are the packages let me know if you find any low level package which may caused error:
"@expo/vector-icons": "^10.0.6",
"@react-native-community/masked-view": "^0.1.5",
"@react-native-community/netinfo": "4.6.0",
"autobind-decorator": "^2.4.0",
"buffer": "^5.4.3",
"crypto-js": "3.1.9-1",
"decorate-component-with-props": "^1.1.0",
"expo": "~36.0.0",
"expokit": "^36.0.1",
"gl-react": "^4.0.1",
"gl-react-expo": "^4.0.1",
"lodash": "^4.17.15",
"mobx": "^5.15.4",
"mobx-react": "^6.1.8",
"moment": "^2.24.0",
"prop-types": "^15.7.2",
"pusher-js": "^5.1.1",
"react": "~16.9.0",
"react-dom": "~16.9.0",
"react-native": "https://github.com/expo/react-native/archive/sdk-36.0.1.tar.gz",
"react-native-animatable": "^1.3.3",
"react-native-callkit": "^1.3.4",
"react-native-datepicker": "^1.7.2",
"react-native-elements": "^1.2.7",
"react-native-fullwidth-image": "^0.1.3",
"react-native-gesture-handler": "^1.5.0",
"react-native-htmlview": "^0.15.0",
"react-native-infinite-scroll": "^1.0.6",
"react-native-keyboard-spacer": "^0.4.1",
"react-native-maps-super-cluster": "^1.6.0",
"react-native-modal-selector": "^1.1.5",
"react-native-onesignal": "^3.6.5",
"react-native-picker-select": "^6.5.1",
"react-native-progress-bar-animated": "^1.0.6",
"react-native-read-more-text": "^1.1.2",
"react-native-reanimated": "^1.4.0",
"react-native-safe-area-context": "^0.6.0",
"react-native-screens": "2.0.0-alpha.12",
"react-native-svg": "^9.13.3",
"react-native-swipeable-row": "^0.8.1",
"react-native-tabs": "^1.0.9",
"react-native-twilio-programmable-voice": "^3.21.3",
"react-native-unimodules": "^0.7.0",
"react-native-web": "~0.11.7",
"react-navigation": "^4.2.2",
"react-navigation-drawer": "^2.4.2",
"react-navigation-stack": "^2.2.3",
"react-navigation-tabs": "^2.8.2",
"striptags": "^3.1.1"
@ektasahu027 Doesn't matter, do try to delete node_modules folder and NPM/Yarn install for fresh.
It's working now actually there is one file where mobx word randomly typed.
thank you All.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs or questions.