-
Notifications
You must be signed in to change notification settings - Fork 85
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
iOS build failing with error undefined is not an object (evaluating 'nativeVersion.major') #32
Comments
Same problem here. |
check the react native version of bundle and the bundle loader. |
Same problem here... any solution? |
I had a similar issue because I manually updated a few things. The current
After reverting some of my updates, it started working again. |
Same problem by android |
Same problem after upgrading to exp 21.0.0 |
Any progress? |
Kill and restart the packager |
I had this problem because I was running a packager for a different project in a different terminal session. (damn you tmux!) |
Kill and restart the packager, also make sure to terminate properly your terminals by typing 'exit' |
according to this docs: https://github.com/react-community/create-react-native-app/blob/master/VERSIONS.md make sure you update the sdk version correctly in app.json too. |
Hi, I am having the same problem. Both in the app.json and the package.json files I have version 22.0.0 and nothing works. It's being really painful. Any fix for this by now? |
This should be fixed with the latest template.
|
i'm solved it updating expo on the device |
i am having the same problem. |
I set same "jest-expo" version from package.json file into app.json "sdkVersion". Problem solved! |
Having the same problem here. "react": "16.0.0", Tried killing and restarting the packager, npm install. But the error is still there |
Not sure which one of these fixed it but I just did everything I could think of:
|
I hate to do this as a developer, but from someone completely outside of the IT realm, I learned this invaluable solution to almost any problem I just can't fix: Restarting laptop did the trick for me. -_- |
In Android I had the same problem under the release configuration. It was because I had a boundle created with a previous build. It was enough to recreate the bundle. |
In Android, gradlew clean and react-native run-android again. Not too sure for iOS but probably do a clean and rebuild like android |
I followed the README instructions precisely I believe. Using the latest Xcode 9 in iOS 11 simulator
The text was updated successfully, but these errors were encountered: