undefined is not an object after updating react-navigation to v3












3















i updated my react-native testproject yesterday to the new version of react-navigation v3, but now when i run the project i got this red error screen with the error Message



undefined is not an object (evaluating 'RNGestureHandlerModule.State')



enter image description here



The thing is i created a new and clean project after hours of cleaning node_modules folder and updating and so on but the error wont disappear.
Today i uploaded the mini project on snack and everything is fine.. no errors and the mini test app runs almost perfectly -> https://snack.expo.io/@snak3/test-with-react-native



But on the normal "react-native run-ios" the error wont go away. I also uploaded the project to github: https://github.com/Rockatweb/test-react-native



Can anyone help me with this? I dont know what the problem is :/










share|improve this question



























    3















    i updated my react-native testproject yesterday to the new version of react-navigation v3, but now when i run the project i got this red error screen with the error Message



    undefined is not an object (evaluating 'RNGestureHandlerModule.State')



    enter image description here



    The thing is i created a new and clean project after hours of cleaning node_modules folder and updating and so on but the error wont disappear.
    Today i uploaded the mini project on snack and everything is fine.. no errors and the mini test app runs almost perfectly -> https://snack.expo.io/@snak3/test-with-react-native



    But on the normal "react-native run-ios" the error wont go away. I also uploaded the project to github: https://github.com/Rockatweb/test-react-native



    Can anyone help me with this? I dont know what the problem is :/










    share|improve this question

























      3












      3








      3


      1






      i updated my react-native testproject yesterday to the new version of react-navigation v3, but now when i run the project i got this red error screen with the error Message



      undefined is not an object (evaluating 'RNGestureHandlerModule.State')



      enter image description here



      The thing is i created a new and clean project after hours of cleaning node_modules folder and updating and so on but the error wont disappear.
      Today i uploaded the mini project on snack and everything is fine.. no errors and the mini test app runs almost perfectly -> https://snack.expo.io/@snak3/test-with-react-native



      But on the normal "react-native run-ios" the error wont go away. I also uploaded the project to github: https://github.com/Rockatweb/test-react-native



      Can anyone help me with this? I dont know what the problem is :/










      share|improve this question














      i updated my react-native testproject yesterday to the new version of react-navigation v3, but now when i run the project i got this red error screen with the error Message



      undefined is not an object (evaluating 'RNGestureHandlerModule.State')



      enter image description here



      The thing is i created a new and clean project after hours of cleaning node_modules folder and updating and so on but the error wont disappear.
      Today i uploaded the mini project on snack and everything is fine.. no errors and the mini test app runs almost perfectly -> https://snack.expo.io/@snak3/test-with-react-native



      But on the normal "react-native run-ios" the error wont go away. I also uploaded the project to github: https://github.com/Rockatweb/test-react-native



      Can anyone help me with this? I dont know what the problem is :/







      react-native react-navigation






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 20 '18 at 11:18









      Der_DDer_D

      517




      517
























          2 Answers
          2






          active

          oldest

          votes


















          3














          Solve this problem using below commands:



          Step1: npm install --save react-native-gesture-handler

          Step2: react-native link react-native-gesture-handler

          Step3: Killall node -9

          Step4: Delete app from simulator or imulator

          Step5: Run app from Xcode or Android studio





          share|improve this answer































            2














            I have this issue too : helped for me :



            Do this command in your project may help you :



            react-native link react-native-gesture-handler





            share|improve this answer


























            • it looks like that the error is gone now. But now i have another problem. Now there is another Error Screen with the following Error: Module AppRegistry is not a registered callable module (calling runApplication). Do you have a solution for this too?

              – Der_D
              Nov 20 '18 at 12:14











            • i restarted the whole ios simulator and bundeling process and now it seems to work. Thanks :)

              – Der_D
              Nov 20 '18 at 12:32











            • Your Welcom my friend 😊

              – MoHammaD ReZa DehGhani
              Nov 20 '18 at 12:58











            • Your answer is right too, but his is more complete. So if others have this problem both answers are correct :) Sadly, i cannot accept both :(

              – Der_D
              Nov 20 '18 at 14:18











            • Sry Dude, im new to react-native. And for me its better when there are more informations about a solution. Thats the big problem with react, sometimes there are no good or complete documentations for problems, bugs or workarounds. And i think i am not alone with this problem :) As i said, your answer is also good :)

              – Der_D
              Nov 20 '18 at 14:25











            Your Answer






            StackExchange.ifUsing("editor", function () {
            StackExchange.using("externalEditor", function () {
            StackExchange.using("snippets", function () {
            StackExchange.snippets.init();
            });
            });
            }, "code-snippets");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "1"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53391855%2fundefined-is-not-an-object-after-updating-react-navigation-to-v3%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            3














            Solve this problem using below commands:



            Step1: npm install --save react-native-gesture-handler

            Step2: react-native link react-native-gesture-handler

            Step3: Killall node -9

            Step4: Delete app from simulator or imulator

            Step5: Run app from Xcode or Android studio





            share|improve this answer




























              3














              Solve this problem using below commands:



              Step1: npm install --save react-native-gesture-handler

              Step2: react-native link react-native-gesture-handler

              Step3: Killall node -9

              Step4: Delete app from simulator or imulator

              Step5: Run app from Xcode or Android studio





              share|improve this answer


























                3












                3








                3







                Solve this problem using below commands:



                Step1: npm install --save react-native-gesture-handler

                Step2: react-native link react-native-gesture-handler

                Step3: Killall node -9

                Step4: Delete app from simulator or imulator

                Step5: Run app from Xcode or Android studio





                share|improve this answer













                Solve this problem using below commands:



                Step1: npm install --save react-native-gesture-handler

                Step2: react-native link react-native-gesture-handler

                Step3: Killall node -9

                Step4: Delete app from simulator or imulator

                Step5: Run app from Xcode or Android studio






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 20 '18 at 12:48









                Brijesh ShiroyaBrijesh Shiroya

                984613




                984613

























                    2














                    I have this issue too : helped for me :



                    Do this command in your project may help you :



                    react-native link react-native-gesture-handler





                    share|improve this answer


























                    • it looks like that the error is gone now. But now i have another problem. Now there is another Error Screen with the following Error: Module AppRegistry is not a registered callable module (calling runApplication). Do you have a solution for this too?

                      – Der_D
                      Nov 20 '18 at 12:14











                    • i restarted the whole ios simulator and bundeling process and now it seems to work. Thanks :)

                      – Der_D
                      Nov 20 '18 at 12:32











                    • Your Welcom my friend 😊

                      – MoHammaD ReZa DehGhani
                      Nov 20 '18 at 12:58











                    • Your answer is right too, but his is more complete. So if others have this problem both answers are correct :) Sadly, i cannot accept both :(

                      – Der_D
                      Nov 20 '18 at 14:18











                    • Sry Dude, im new to react-native. And for me its better when there are more informations about a solution. Thats the big problem with react, sometimes there are no good or complete documentations for problems, bugs or workarounds. And i think i am not alone with this problem :) As i said, your answer is also good :)

                      – Der_D
                      Nov 20 '18 at 14:25
















                    2














                    I have this issue too : helped for me :



                    Do this command in your project may help you :



                    react-native link react-native-gesture-handler





                    share|improve this answer


























                    • it looks like that the error is gone now. But now i have another problem. Now there is another Error Screen with the following Error: Module AppRegistry is not a registered callable module (calling runApplication). Do you have a solution for this too?

                      – Der_D
                      Nov 20 '18 at 12:14











                    • i restarted the whole ios simulator and bundeling process and now it seems to work. Thanks :)

                      – Der_D
                      Nov 20 '18 at 12:32











                    • Your Welcom my friend 😊

                      – MoHammaD ReZa DehGhani
                      Nov 20 '18 at 12:58











                    • Your answer is right too, but his is more complete. So if others have this problem both answers are correct :) Sadly, i cannot accept both :(

                      – Der_D
                      Nov 20 '18 at 14:18











                    • Sry Dude, im new to react-native. And for me its better when there are more informations about a solution. Thats the big problem with react, sometimes there are no good or complete documentations for problems, bugs or workarounds. And i think i am not alone with this problem :) As i said, your answer is also good :)

                      – Der_D
                      Nov 20 '18 at 14:25














                    2












                    2








                    2







                    I have this issue too : helped for me :



                    Do this command in your project may help you :



                    react-native link react-native-gesture-handler





                    share|improve this answer















                    I have this issue too : helped for me :



                    Do this command in your project may help you :



                    react-native link react-native-gesture-handler






                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Nov 20 '18 at 11:42

























                    answered Nov 20 '18 at 11:35









                    MoHammaD ReZa DehGhaniMoHammaD ReZa DehGhani

                    144117




                    144117













                    • it looks like that the error is gone now. But now i have another problem. Now there is another Error Screen with the following Error: Module AppRegistry is not a registered callable module (calling runApplication). Do you have a solution for this too?

                      – Der_D
                      Nov 20 '18 at 12:14











                    • i restarted the whole ios simulator and bundeling process and now it seems to work. Thanks :)

                      – Der_D
                      Nov 20 '18 at 12:32











                    • Your Welcom my friend 😊

                      – MoHammaD ReZa DehGhani
                      Nov 20 '18 at 12:58











                    • Your answer is right too, but his is more complete. So if others have this problem both answers are correct :) Sadly, i cannot accept both :(

                      – Der_D
                      Nov 20 '18 at 14:18











                    • Sry Dude, im new to react-native. And for me its better when there are more informations about a solution. Thats the big problem with react, sometimes there are no good or complete documentations for problems, bugs or workarounds. And i think i am not alone with this problem :) As i said, your answer is also good :)

                      – Der_D
                      Nov 20 '18 at 14:25



















                    • it looks like that the error is gone now. But now i have another problem. Now there is another Error Screen with the following Error: Module AppRegistry is not a registered callable module (calling runApplication). Do you have a solution for this too?

                      – Der_D
                      Nov 20 '18 at 12:14











                    • i restarted the whole ios simulator and bundeling process and now it seems to work. Thanks :)

                      – Der_D
                      Nov 20 '18 at 12:32











                    • Your Welcom my friend 😊

                      – MoHammaD ReZa DehGhani
                      Nov 20 '18 at 12:58











                    • Your answer is right too, but his is more complete. So if others have this problem both answers are correct :) Sadly, i cannot accept both :(

                      – Der_D
                      Nov 20 '18 at 14:18











                    • Sry Dude, im new to react-native. And for me its better when there are more informations about a solution. Thats the big problem with react, sometimes there are no good or complete documentations for problems, bugs or workarounds. And i think i am not alone with this problem :) As i said, your answer is also good :)

                      – Der_D
                      Nov 20 '18 at 14:25

















                    it looks like that the error is gone now. But now i have another problem. Now there is another Error Screen with the following Error: Module AppRegistry is not a registered callable module (calling runApplication). Do you have a solution for this too?

                    – Der_D
                    Nov 20 '18 at 12:14





                    it looks like that the error is gone now. But now i have another problem. Now there is another Error Screen with the following Error: Module AppRegistry is not a registered callable module (calling runApplication). Do you have a solution for this too?

                    – Der_D
                    Nov 20 '18 at 12:14













                    i restarted the whole ios simulator and bundeling process and now it seems to work. Thanks :)

                    – Der_D
                    Nov 20 '18 at 12:32





                    i restarted the whole ios simulator and bundeling process and now it seems to work. Thanks :)

                    – Der_D
                    Nov 20 '18 at 12:32













                    Your Welcom my friend 😊

                    – MoHammaD ReZa DehGhani
                    Nov 20 '18 at 12:58





                    Your Welcom my friend 😊

                    – MoHammaD ReZa DehGhani
                    Nov 20 '18 at 12:58













                    Your answer is right too, but his is more complete. So if others have this problem both answers are correct :) Sadly, i cannot accept both :(

                    – Der_D
                    Nov 20 '18 at 14:18





                    Your answer is right too, but his is more complete. So if others have this problem both answers are correct :) Sadly, i cannot accept both :(

                    – Der_D
                    Nov 20 '18 at 14:18













                    Sry Dude, im new to react-native. And for me its better when there are more informations about a solution. Thats the big problem with react, sometimes there are no good or complete documentations for problems, bugs or workarounds. And i think i am not alone with this problem :) As i said, your answer is also good :)

                    – Der_D
                    Nov 20 '18 at 14:25





                    Sry Dude, im new to react-native. And for me its better when there are more informations about a solution. Thats the big problem with react, sometimes there are no good or complete documentations for problems, bugs or workarounds. And i think i am not alone with this problem :) As i said, your answer is also good :)

                    – Der_D
                    Nov 20 '18 at 14:25


















                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53391855%2fundefined-is-not-an-object-after-updating-react-navigation-to-v3%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    MongoDB - Not Authorized To Execute Command

                    How to fix TextFormField cause rebuild widget in Flutter

                    in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith