react-native-navigation icon indicating copy to clipboard operation
react-native-navigation copied to clipboard

RNN.ScreenPopped is no supported event type for RNNEventEmitter.

Open Sbarcenas opened this issue 6 years ago • 12 comments

RNN.ScreenPopped is no supported event type for RNNEventEmitter.

I Just update RNN to last versión Captura de Pantalla 2019-12-27 a la(s) 12 04 43 p  m

Sbarcenas avatar Dec 27 '19 17:12 Sbarcenas

Have you ran pod install or yarn ios again? It seems like npm package is updated but haven't updated the native version.

jinshin1013 avatar Jan 02 '20 01:01 jinshin1013

pod install didn't fix this error for me

cspicuzza avatar Jan 05 '20 00:01 cspicuzza

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

odesey avatar Jan 05 '20 03:01 odesey

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

jinshin1013 avatar Jan 05 '20 23:01 jinshin1013

Thanks @jinshin1013 👍 this error indicates there's a mismatch between native and js versions - npm install, pod install and recompile and it should work.

guyca avatar Jan 06 '20 14:01 guyca

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?

cspicuzza avatar Jan 06 '20 18:01 cspicuzza

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.

odesey avatar Jan 07 '20 02:01 odesey

A simple pod update && pod install should do the trick.

ptfly avatar Jan 07 '20 07:01 ptfly

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.

guibas741 avatar Jan 09 '20 20:01 guibas741

@ptfly that resolved my issue, thanks!

cspicuzza avatar Feb 21 '20 03:02 cspicuzza

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

mamoru0217 avatar Mar 21 '20 06:03 mamoru0217

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

lkwjohn avatar Jul 12 '20 12:07 lkwjohn