I Just update RNN to last versi贸n
Have you ran pod install
or yarn ios
again? It seems like npm package is updated but haven't updated the native version.
pod install
didn't fix this error for me
Same issue as @jinshin1013
Tried the following:
rm -rf node_modules
yarn
cd ios && pod install && cd ..
yarn ios
Had to downgrade to version ~3
in order to get rid of the error message
React-Native Version: 0.61.2
React Version: 16.9.0
React Native Navigation Version (causes error): 4.1.0
, this version works: 3.2.0-snapshot.537
I can confirm that the latest react-native-navigation version does not cause this error. Try the following:
# 1. Stop all processes of metro
# 2. Delete node_modules
rm -rf node_modules
# 3. Install node_modules
yarn
# 4. Install Pod
cd ios && pod install && cd ..
# 5. Start metro
yarn start # most likely have forgotten to stop and re-run the metro again.
# 6. Run ios and android
yarn ios
yarn android
Thanks @jinshin1013 馃憤
this error indicates there's a mismatch between native and js versions - npm install, pod install and recompile and it should work.
I'm running:
RN 0.6.5
RNN 4.2.0
Removing node modules, yarn install
, pod install
, is not fixing the error for me. Anyone else still having this error come up?
Finally got it to work, here is what I had to do:
stop bundler ... CTRL + C
rm -rf node_modules
rm -rf ios/build
** Update RNN to version 4.x now in your package.json file **
yarn
cd ios && pod update ReactNativeNavigation --no-repo-update
pod install && cd ..
** start bundler again **
, yarn start
yarn ios
Hopefully this helps anyone who was having this issue.
A simple pod update && pod install
should do the trick.
I am facing the same problem, but only when I run react-native run-ios
on the command line, if I run the project at Xcode it works fine.
Already updated my node_modules
and PodFile
I had the error RNN.ModalAttemptedToDismiss is not supported
and @odesey answer solved to me.
@ptfly that resolved my issue, thanks!
I solve this problem by deleting files in ~/Library/Developer/Xcode/DerivedData
.
Maybe remaining module cache causes this problem.
renact-native-navigation 6.3.1
react-native 0.61.5
Facing the same issue from react-native run-ios but is fine from Xcode, but this happen only for build that are run on iOS devices. The above solutions didn't work for me.
renact-native-navigation 6.9.0
react-native 0.60.6
iOS 14
Most helpful comment
Have you ran
pod install
oryarn ios
again? It seems like npm package is updated but haven't updated the native version.