Closed samliaw closed 4 years ago
@samliaw I've followed the described steps but I am unable to reproduce the issue (nor via VSCode debug neither via deploy & run). Can you please let us know if the issue is happening only on a specific API level (what is the device/emulator used during the tests)?
I try both the both API 23 and 28 and I have the same issue. When I run in Visual Studio code, I see the exception. If I run in IOS, I can see the exception in both Visual Studio Code and in terminal.
@samliaw you are using "All Exception" check and the code stops at the first exception which is an Angular NoMatch.. still, the debug is working and you could continue to execute the code. The exception won't crash the app/
@NickIliev , you are right. It still works even it has exceptions.
However, the exception cause my project to crash in IOS. I have the same exception in Android but it works fine. Can I send you my whole project so you can see the crashing in IOS?
The issue has been resolved. In case someone has encounter the same issue, you have ideas how to solve it.
I am running Nativescript Angular. In my login html page, I include
I will close it for now.
@NickIliev , thanks for your help.
Environment Provide version numbers for the following components (information can be retrieved by running
tns info
in your project folder or by inspecting thepackage.json
of the project):The content of the package.
Describe the bug
This is a runtime error. Click on the menu and go to Browse page. I run this in Visual Studio Code and enable All Exception and Uncaught Exception. Below is the issue
To Reproduce
Please run the following commands tns create my-drawer-ng --template tns-template-drawer-navigation-ng cd my-drawer-ng npm i tns platform add android In Visual Studio Code, click on Lanuch on Android or Lanuch on IOS Click on the menu, click on Browse, you will see the exception as shown above.
Expected behavior It should be able to navigate to Browse page successfully.
Sample project
Additional context