undefined is not an object after updating react-navigation to v3
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')
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
add a comment |
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')
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
add a comment |
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')
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
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')
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
react-native react-navigation
asked Nov 20 '18 at 11:18
Der_DDer_D
517
517
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
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
add a comment |
I have this issue too : helped for me :
Do this command in your project may help you :
react-native link react-native-gesture-handler
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
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
add a comment |
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
add a comment |
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
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
answered Nov 20 '18 at 12:48


Brijesh ShiroyaBrijesh Shiroya
984613
984613
add a comment |
add a comment |
I have this issue too : helped for me :
Do this command in your project may help you :
react-native link react-native-gesture-handler
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
add a comment |
I have this issue too : helped for me :
Do this command in your project may help you :
react-native link react-native-gesture-handler
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
add a comment |
I have this issue too : helped for me :
Do this command in your project may help you :
react-native link react-native-gesture-handler
I have this issue too : helped for me :
Do this command in your project may help you :
react-native link react-native-gesture-handler
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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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