IOS App crashes with Fatal javascript Error


#1

We have built a Nativescript angular app which runs fine on android, but when we run it on IOS it crashes with the following error:

***** Fatal JavaScript exception - application has been terminated. *****
Native stack trace:
2017-08-30 14:53:14.121870+0200 vendingappui[875:379513] 1 0x1006b2124 -[TNSRuntime executeModule:referredBy:]
1 0x1006b2124 -[TNSRuntime executeModule:referredBy:]
2017-08-30 14:53:14.123362+0200 vendingappui[875:379513] 2 0x1000c0054 main
2 0x1000c0054 main
2017-08-30 14:53:14.123456+0200 vendingappui[875:379513] 3 0x18f81d59c
3 0x18f81d59c
JavaScript stack trace:
1 @file:///app/tns_modules/nativescript-angular/view-util.js:7:35
JavaScript error:
2017-08-30 14:53:14.124343+0200 vendingappui[875:379513] file:///app/tns_modules/nativescript-angular/view-util.js:7:35: JS ERROR Error: Could not find module ‘ui/builder/special-properties’. Computed path ‘/var/containers/Bundle/Application/69ED44E3-BF9C-4CD4-81B5-5DB0E45AC583/vendingappui.app/app/tns_modules/ui/builder/special-properties’.

file:///app/tns_modules/nativescript-angular/view-util.js:7:35: JS ERROR Error: Could not find module ‘ui/builder/special-properties’. Computed path ‘/var/containers/Bundle/Application/69ED44E3-BF9C-4CD4-81B5-5DB0E45AC583/vendingappui.app/app/tns_modules/ui/builder/special-properties’.

The app is using Telerik Backend Services for Push Notifications and User Management.
Tns version 3.1.2.
tns-ios verson: 3.1.1

Please any help will be greatly appreciated

T