Upgrading from NativeScript Core from v5 - Cannot Navigate to page #9655
Unanswered
SaadmanChowdhury
asked this question in
Q&A
Replies: 4 comments
|
I am also facing the same problem. |
0 replies
|
@SaadmanChowdhury @samiul-gtmi please provide more context in order for anyone to be able to help - code snippets, stack-traces etc. |
0 replies
|
The breaking changes between 5 and 8 are the key to upgrade successfully. |
0 replies
|
You likely need to use Frame.topmost() When you get to later versions of {N} the first line becomes
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Good evening,
I'm trying to upgrade a version 5 NativeScript project to version 8.
I began by first upgrading the project to 6,
and then testing if all of the functionalities work before moving on to upgrading it further.
After TNS migrate, and resolving a few minor issues, I hit a snag.
After the login screen, when trying to navigate to another screen, the topmost() returns undefined.
I've used the debugger and realized that the frame_stack_1 in frame-common.js is empty.
I think the reason is that the frames are not being pushed into frame_stack_1 when the app loads.
I checked out this guide
https://nativescripting.com/posts/missing-frame-and-page
platformNativeScriptDynamic({ createFrameOnBootstrap: true }).bootstrapModule( AppModule );but it is for angular.
Is there was a similar method of making it work for NativeScript Core?
All reactions