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

After upgrading to React-Native 0.56 app doesn't start #20042

Closed
3 tasks done
nicomontanari opened this issue Jul 5, 2018 · 5 comments
Closed
3 tasks done

After upgrading to React-Native 0.56 app doesn't start #20042

nicomontanari opened this issue Jul 5, 2018 · 5 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@nicomontanari
Copy link

Environment

React Native Environment Info:
System:
OS: macOS High Sierra 10.13.5
CPU: x64 Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz
Memory: 348.96 MB / 8.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 10.6.0 - /usr/local/bin/node
Yarn: 1.7.0 - /usr/local/bin/yarn
npm: 6.1.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 11.4, macOS 10.13, tvOS 11.4, watchOS 4.3
Android SDK:
Build Tools: 23.0.1, 23.0.3, 25.0.1, 25.0.2, 25.0.3, 26.0.1, 26.0.2, 27.0.3
API Levels: 23, 24, 25, 26, 27
IDEs:
Android Studio: 3.1 AI-173.4819257
Xcode: 9.4.1/9F2000 - /usr/bin/xcodebuild
npmPackages:
@types/react: 16.4.6 => 16.4.6
@types/react-native: 0.55.27 => 0.55.27
react: 16.4.1 => 16.4.1
react-native: 0.56.0 => 0.56.0
npmGlobalPackages:
create-react-native-app: 1.0.0

Description

Terminal error: bundling failed: TypeError: Cannot read property 'bindings' of null
React Native Debugger error:
image

@markholland
Copy link

Likely Babel related, 0.56 uses Babel 7, we had to add the latest beta as a dependency to our project.

@krystofbe
Copy link

I think this is related to #19538

update babel-preset-react-native to 5.0.0 fixed this for me

@kelset
Copy link
Contributor

kelset commented Jul 5, 2018

I'll close this in favour of #19827, which is where we are "collecting" all the Babel-config related issues.

@Poukai
Copy link

Poukai commented Jul 12, 2018

@krystofbe How to update to 5.0.0 the on npm has a broken github like and its latest version is 4.0.0

@supermock
Copy link

@Poukai Very simple, just run: yarn add babel-preset-react-native@5.0.0 --dev

@facebook facebook locked as resolved and limited conversation to collaborators Jul 14, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

7 participants