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

Fix React Native 0.61 support #93

Closed
9 tasks
brody4hire opened this issue Sep 9, 2019 · 3 comments · Fixed by #244
Closed
9 tasks

Fix React Native 0.61 support #93

brody4hire opened this issue Sep 9, 2019 · 3 comments · Fixed by #244
Assignees
Labels
bug Something isn't working

Comments

@brody4hire
Copy link
Owner

brody4hire commented Sep 9, 2019

@brody4hire brody4hire self-assigned this Sep 9, 2019
@brody4hire brody4hire changed the title Test on React Native 0.61 (rc) React Native 0.61 (rc) support Sep 9, 2019
@brody4hire brody4hire changed the title React Native 0.61 (rc) support Fix React Native 0.61 support Sep 25, 2019
@brody4hire brody4hire added the bug Something isn't working label Sep 25, 2019
@brody4hire brody4hire pinned this issue Sep 25, 2019
@davidpfahler
Copy link

So just to clarify: create-react-native-module does not work with latest react-native? I tried to create a Native Module with it following the official guides and get the following errors when react-native run-ios:

error React Native CLI uses autolinking for native dependencies, but the following modules are linked manually: 
  - react-native-core-ml (to unlink run: "react-native unlink react-native-core-ml")
This is likely happening when upgrading React Native from below 0.60 to 0.60 or above. Going forward, you can unlink this dependency via "react-native unlink <dependency>" and it will be included in your app automatically. If a library isn't compatible with autolinking, disregard this message and notify the library maintainers.
Read more about autolinking: https://github.com/react-native-community/cli/blob/master/docs/autolinking.md
error Could not find the following native modules: react-native-core-ml. Did you forget to run "pod install" ?

When I then cd ios; pod install:

Detected React Native module pod for react-native-core-ml
Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "react-native-core-ml":
  In Podfile:
    react-native-core-ml (from `../node_modules/react-native-core-ml`)

Specs satisfying the `react-native-core-ml (from `../node_modules/react-native-core-ml`)` dependency were found, but they required a higher minimum deployment target.

In the simulator:

error: bundling failed: Error: Unable to resolve module `warnOnce` from `node_modules/react-native-core-ml/node_modules/react-native/Libraries/react-native/react-native-implementation.js`: warnOnce could not be found within the project.

Is this expected behavior at this point in time?

@zivchen
Copy link

zivchen commented Jan 15, 2020

+1
Same error
"react-native": "0.61.5"

@Elijah23Johnson
Copy link

+1
Same error
"react-native": "0.61.5"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants