module appregistry is not a registered callable module (calling runApplication)

后端 未结 3 1123
半阙折子戏
半阙折子戏 2021-01-25 19:44

i cannot find a way to make react-navigation work at all. i copied the working examples from the internet but they don\'t seem to work too. can someone tell me what i am doing w

相关标签:
3条回答
  • 2021-01-25 19:59

    I kept getting this error too today, and it was very annoying. Was able to get rid of it by removing the Terminal window with "Metro" bundler stuff, and then recompiling the app.

    Seems like it's not the code, but rather the runtime environment (which seems to work well with only one app example at a time). You can double check this by doing a super simple app that should work.

    0 讨论(0)
  • 2021-01-25 20:06

    Close your Nodejs Terminal and run again

    0 讨论(0)
  • 2021-01-25 20:19

    Just kill all node process and start npm server and run application:

    Step1: run command killall -9 node

    Step2: run command npm start

    Step3: run command react-native run-ios OR react-native run-android

    0 讨论(0)
提交回复
热议问题