I am getting an error after upgrading the react-native to the latest version(Could not find the following native modules)
See original GitHub issueI done the following to update all npm and react-ative latest version.
For npm, I ran npm update
To update the react-native, I have changed the version in package.json and ran npm install. It updated the react-native version
After this, I have run react-native run-ios it shows all my packages are manually linked and you need to unlink all packages.
Also, can anyone clarify the react-native-config.js file is mandatory for this after updating to the latest react-native.
Always I open the app.Xcodeproj but the below shows I need to open app.xcworkspace. Can anyone clarify this?
warn The following packages use deprecated "rnpm" config that will stop working from next release:
- react-native-fetch-blob: https://github.com/wkh237/react-native-fetch-blob#readme
- react-native-orientation: https://github.com/yamill/react-native-orientation#readme
- rn-fetch-blob: https://github.com/joltup/rn-fetch-blob#readme
Please notify their maintainers about it. You can find more details at https://github.com/react-native-community/cli/blob/master/docs/configuration.md#migration-guide.
error Could not find the following native modules: BugsnagReactNative, react-native-camera, react-native-cookies, react-native-fast-image, react-native-fetch-blob, RNFS, RNGestureHandler, RNImageCropPicker, react-native-image-picker, RNImageRotate, BVLinearGradient, react-native-orientation, RNShare, RNSVG, RNVectorIcons, RNViewShot, react-native-webview, rn-fetch-blob. Did you forget to run "pod install" ?
info Found Xcode workspace "Fashion.xcworkspace"
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Could not find the following native modules after upgrading ...
After this, I have run react-native run-ios it shows all my packages are manually linked and you need to unlink all packages. Also,...
Read more >Error Could Not Find The Following Native Modules - Medium
Ever encountered the above error when building a project? Fret not. Solution —. Run these commands: cd ios pod install. You should be...
Read more >react-native-ble-plx. Did you forget to run "pod install" ?" - Reddit
Need help with "error Could not find the following native modules: react-native-ble-plx. Did you forget to run "pod install" ?" I have run...
Read more >iOS Native Modules
To get started, open up the iOS project within your React Native application in Xcode. You can find your iOS project here within...
Read more >Troubleshooting | React Navigation
If upgrading the packages don't help, you can also try deleting your node_modules as well as lock the file and reinstall your dependencies....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Follow this upgrade helper and make sure you add this to your Podfile:
Then run
pod install
. This solved my issue.react-native upgrade not works for me. So I have changed the package.json and make it to upgrade.
Getting below errors:
error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening Fashion.xcworkspace. Run CLI with --verbose flag for more details.
error Could not find the following native modules: BugsnagReactNative, react-native-cookies, react-native-fast-image, react-native-fetch-blob, react-native-image-picker, react-native-orientation, RNSVG, rn-fetch-blob. Did you forget to run "pod install" ?