Search code examples
javascriptangularnativescriptangular2-nativescriptnativescript-angular

NativeScript Angular: An Uncaught Exception Occurred on main thread on android


I am new to mobile development and I am working with NativeScript and in the Android application I find this error.

enter image description here

Here's my package.json


Solution

  • tns platform remove android/ios tns platform add android/ios tns run android/ios

    if not... try to delete your node_modules folder and execute npm install or npm i