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

React Native upgrade to 0.26 #1026

Closed
aaronschachter opened this issue May 23, 2016 · 1 comment
Closed

React Native upgrade to 0.26 #1026

aaronschachter opened this issue May 23, 2016 · 1 comment

Comments

@aaronschachter
Copy link
Contributor

Attempting upgrading steps in our wiki are throwing errors.

Running npm install --save react-native@0.26 throws this warning:

react-native@0.26.1 requires a peer of react@15.0.2 but none was installed.

Running the build leads to a RSOD with some steps for troubleshooting, referencing facebook/react-native#4968

Running npm install --save react@15.0.2 after the warning about no React installed results in new RSOD. This SO thread mentions that importing React from React Native will stop working in 0.26 (was deprecated in 0.25.1).

2016-05-23 11:18:19.868 [error][tid:com.facebook.react.JavaScript] _reactNative2.default.createClass is not a function. (In '_reactNative2.default.createClass', '_reactNative2.default.createClass' is undefined)
2016-05-23 11:18:19.870 [fatal][tid:com.facebook.react.RCTExceptionsManagerQueue] Unhandled JS Exception: _reactNative2.default.createClass is not a function. (In '_reactNative2.default.createClass', '_reactNative2.default.createClass' is undefined)
May 23 11:18:21 DoSomething[4139] : starting profile request using - 3.1-77 with options: 1fc7e
2016-05-23 11:18:21.886 DoSomething[4139:64906] Tapjoy connect succeeded
2016-05-23 11:18:21.892 DoSomething[4139:64906] __68-[DSOUserManager continueSessionWithCompletionHandler:errorHandler:]_block_invoke line 132 $ user 55e8daf5a59dbfa8118b4755
2016-05-23 11:18:21.892 DoSomething[4139:64906] -[GAI(LDT) trackScreenView:] line 19 $ news
2016-05-23 11:18:21.923 [error][tid:com.facebook.react.JavaScript] Module AppRegistry is not a registered callable module.
May 23 11:18:21 DoSomething[4139] : Module AppRegistry is not a registered callable module.
2016-05-23 11:18:21.924 [fatal][tid:com.facebook.react.RCTExceptionsManagerQueue] Unhandled JS Exception: Module AppRegistry is not a registered callable module.
May 23 11:18:21 DoSomething[4139] : Unhandled JS Exception: Module AppRegistry is not a registered callable module.
2016-05-23 11:18:22.892 DoSomething[4139:64906] -canOpenURL: failed for URL: "about:blank" - error: "This app is not allowed to query for scheme about"

@aaronschachter
Copy link
Contributor Author

aaronschachter commented May 23, 2016

Per facebook/react-native#7697 (comment):

So far only able to avoid that warning:

react-native@0.26.1 requires a peer of react@15.0.2 but none was installed.

By running npm install --save react@15.0.2 after the normal npm install that throws the warning.

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

No branches or pull requests

1 participant