You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 9, 2021. It is now read-only.
I'm using react-native version 0.63. I ran into errors while attempting to initiate a new project using the Andross boilerplate. I will explain how I resolved them below.
First error:
error React Native CLI uses autolinking for native dependencies, but the following modules are linked manually:
- react-native-device-info (to unlink run: "react-native unlink react-native-device-info")
- react-native-gesture-handler (to unlink run: "react-native unlink react-native-gesture-handler")
- react-native-i18n (to unlink run: "react-native unlink react-native-i18n")
- react-native-vector-icons (to unlink run: "react-native unlink react-native-vector-icons")
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.
I fixed these by running the recommended unlink actions in parentheses, adding npx before each like so: npx react-native unlink react-native-device-info
Second error:
error Could not find the following native modules: RNCAsyncStorage, RNCMaskedView, react-native-config, RNDeviceInfo, RNGestureHandler, RNI18n, react-native-safe-area-context, RNScreens, RNVectorIcons. Did you forget to run "pod install" ?
Fixed using this solution found on stack overflow. To repeat it here:
navigate to ios folder in root directory of react-native project
run pod init
run pod install
After resolving these successfully, I encountered a final error described in another open issue. It was resolved using the solution found there. For thoroughness, I will include the error here:
Error: `createStackNavigator()` has been moved to `react-navigation-stack`. See https://reactnavigation.org/docs/4.x/stack-navigator.html for more details.
The text was updated successfully, but these errors were encountered:
e-mcbride
changed the title
Errors while running npx react-native run-ios with react-native version 0.63
Errors while running npx react-native run-ios. Afte resolving errors, Andross rendering correctly on Android, but not on iOS
Dec 4, 2020
I'm using react-native version 0.63. I ran into errors while attempting to initiate a new project using the Andross boilerplate. I will explain how I resolved them below.
First error:
I fixed these by running the recommended
unlink
actions in parentheses, addingnpx
before each like so:npx react-native unlink react-native-device-info
Second error:
Fixed using this solution found on stack overflow. To repeat it here:
pod init
pod install
After resolving these successfully, I encountered a final error described in another open issue. It was resolved using the solution found there. For thoroughness, I will include the error here:
The text was updated successfully, but these errors were encountered: